Skip to content

Commit

Permalink
Don't return ref to private member
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianposton committed May 16, 2017
1 parent 3294652 commit 98e6c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zonemgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class ZoneMgr : public QObject
QString zoneNameFromID(uint16_t zoneId);
QString zoneLongNameFromID(uint16_t zoneId);
bool isZoning() const { return m_zoning; }
const QString& shortZoneName() const { return m_shortZoneName; }
const QString& longZoneName() const { return m_longZoneName; }
QString shortZoneName() const { return m_shortZoneName; }
QString longZoneName() const { return m_longZoneName; }
const Point3D<int16_t>& safePoint() const { return m_safePoint; }
float zoneExpMultiplier() { return m_zone_exp_multiplier; }
const zonePointStruct* zonePoint(uint32_t zoneTrigger);
Expand Down

0 comments on commit 98e6c48

Please sign in to comment.