diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-07-14 22:00:44 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-07-14 22:00:44 +0200 |
commit | b738d67f76336641468e3f77cef472a52a6e5ad3 (patch) | |
tree | d03f1c177c92060e7be7e78c61217ea5c663755f /src/variabledata.h | |
parent | 7ae52ac5392607f5cb56dffa9ae45ae5a2f14bd1 (diff) | |
download | mana-b738d67f76336641468e3f77cef472a52a6e5ad3.tar.gz mana-b738d67f76336641468e3f77cef472a52a6e5ad3.tar.bz2 mana-b738d67f76336641468e3f77cef472a52a6e5ad3.tar.xz mana-b738d67f76336641468e3f77cef472a52a6e5ad3.zip |
Removed unnecessary semicolons after namespaces
Please don't, it causes warnings with my settings, which makes my build
fail. ;)
Diffstat (limited to 'src/variabledata.h')
-rw-r--r-- | src/variabledata.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/variabledata.h b/src/variabledata.h index 6ba76318..c2eca3fb 100644 --- a/src/variabledata.h +++ b/src/variabledata.h @@ -43,43 +43,43 @@ class VariableData class IntData : public VariableData { - public: +public: IntData(int value) { mData = value; } int getData() const { return mData; } int getType() const { return DATA_INT; } - private: +private: int mData; }; class StringData : public VariableData { - public: +public: StringData(const std::string &value) { mData = value; } const std::string &getData() const { return mData; } int getType() const { return DATA_STRING; } - private: +private: std::string mData; }; class FloatData : public VariableData { - public: +public: FloatData(double value) { mData = value; } double getData() const { return mData; } int getType() const { return DATA_FLOAT; } - private: +private: double mData; }; -}; // namespace Mana +} // namespace Mana #endif |