diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-24 19:51:16 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-26 22:38:41 +0100 |
commit | bd7ad9aedd87c857477bbfcf7653af91a80f4df6 (patch) | |
tree | 6e0c678f37ebf7b0c020ec95773c79c552834140 /src/configuration.h | |
parent | 20c224aacc6b9669828f3c7e7b2c19b9b95d90ff (diff) | |
download | mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.gz mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.bz2 mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.xz mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.zip |
Removed 'inline' keyword where it's not of any value
Members that are implemented inline are already inline, there is no need
to mark them as such.
Made two inline members of OpenGLGraphics private since because they are
marked as inline, they can't be used from other classes.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/configuration.h b/src/configuration.h index a675002b..f6130c94 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -218,22 +218,22 @@ class Configuration : public ConfigurationObject void setValue(const std::string &key, const std::string &value); - inline void setValue(const std::string &key, const char *value) + void setValue(const std::string &key, const char *value) { setValue(key, std::string(value)); } - inline void setValue(const std::string &key, float value) + void setValue(const std::string &key, float value) { setValue(key, toString(value)); } - inline void setValue(const std::string &key, double value) + void setValue(const std::string &key, double value) { setValue(key, toString(value)); } - inline void setValue(const std::string &key, int value) + void setValue(const std::string &key, int value) { setValue(key, toString(value)); } - inline void setValue(const std::string &key, unsigned value) + void setValue(const std::string &key, unsigned value) { setValue(key, toString(value)); } - inline void setValue(const std::string &key, bool value) + void setValue(const std::string &key, bool value) { setValue(key, value ? "1" : "0"); } /** |