From 880389de48e669ba75c86f1530b7e491e40e9325 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 22:24:00 +0300 Subject: move bools in beingcacheentry. --- src/beingcacheentry.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/beingcacheentry.h b/src/beingcacheentry.h index fb050ddd4..d342b1c8d 100644 --- a/src/beingcacheentry.h +++ b/src/beingcacheentry.h @@ -29,16 +29,16 @@ class BeingCacheEntry final { public: explicit BeingCacheEntry(const int id): - mId(id), mName(), mPartyName(), mGuildName(), + mIp(), + mId(id), mLevel(0), mPvpRank(0), mTime(0), - mIp(), - mIsAdvanced(false), - mFlags(0) + mFlags(0), + mIsAdvanced(false) { } @@ -113,16 +113,16 @@ class BeingCacheEntry final { mFlags = flags; } protected: - int mId; /**< Unique sprite id */ std::string mName; /**< Name of character */ std::string mPartyName; std::string mGuildName; + std::string mIp; + int mId; /**< Unique sprite id */ int mLevel; unsigned int mPvpRank; int mTime; - std::string mIp; - bool mIsAdvanced; int mFlags; + bool mIsAdvanced; }; #endif // BEINGCACHEENTRY_H -- cgit v1.2.3-70-g09d2