Made code -Wshadow clean, missed a bunch of issues in the last commit
[supertux.git] / src / object / display_effect.hpp
index f2f8774..6ea34c7 100644 (file)
@@ -26,7 +26,7 @@ class DisplayEffect : public GameObject,
                       public ScriptInterface
 {
 public:
-  DisplayEffect(std::string name = "");
+  DisplayEffect(const std::string& name = std::string());
   virtual ~DisplayEffect();
 
   void expose(HSQUIRRELVM vm, SQInteger table_idx);