diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-26 02:48:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-26 02:48:32 +0300 |
commit | ab596ef3f4215f792feaa9ca1dfe5acb74c67328 (patch) | |
tree | ac5a4f31e2fa9c784d7de8d817654d47e21ccac2 /src/defaults.h | |
parent | 399f264360f6e8dfa31d0c3ff7d72aad8033888d (diff) | |
download | plus-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.gz plus-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.bz2 plus-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.xz plus-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.zip |
Add const to some classes.
Diffstat (limited to 'src/defaults.h')
-rw-r--r-- | src/defaults.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/defaults.h b/src/defaults.h index fc74f76c8..3fb274e85 100644 --- a/src/defaults.h +++ b/src/defaults.h @@ -28,12 +28,12 @@ typedef std::map<std::string, VariableData*> DefaultsData; -VariableData* createData(int defData); -VariableData* createData(double defData); -VariableData* createData(float defData); +VariableData* createData(const int defData); +VariableData* createData(const double defData); +VariableData* createData(const float defData); VariableData* createData(const std::string &defData); VariableData* createData(const char* defData); -VariableData* createData(bool defData); +VariableData* createData(const bool defData); DefaultsData* getConfigDefaults(); DefaultsData* getBrandingDefaults(); DefaultsData* getPathsDefaults(); |