aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Item.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-17 22:08:18 +0100
committerNao Pross <naopross@thearcway.org>2018-02-17 22:08:18 +0100
commit7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d (patch)
tree3ce33e8d1b83e3adf9b7998fbfc206014e9250e7 /src/main/headers/Item.hpp
parentAdd all warning and thread them as errors (diff)
downloadSubconscious-old-7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d.tar.gz
Subconscious-old-7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d.zip
Fix all warnings (errors with -Werror)
Diffstat (limited to '')
-rw-r--r--src/main/headers/Item.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/headers/Item.hpp b/src/main/headers/Item.hpp
index 56f8733..ce0c921 100644
--- a/src/main/headers/Item.hpp
+++ b/src/main/headers/Item.hpp
@@ -31,7 +31,7 @@ protected:
const std::string _name;
- Item(Type t, const std::string &name) : _name(name), type(t) {}
+ Item(Type t, const std::string &name) : type(t), _name(name) {}
};
#endif