More -Weffc++ cleanup
[supertux.git] / src / supertux / textscroller.hpp
index 6237ab7..fca80d7 100644 (file)
@@ -49,6 +49,10 @@ private:
   Color color;
   std::string text;
   Surface* image;
+
+private:
+  InfoBoxLine(const InfoBoxLine&);
+  InfoBoxLine& operator=(const InfoBoxLine&);
 };
 
 /** This class is displaying a box with information text inside the game
@@ -71,6 +75,10 @@ private:
   std::map<std::string, Surface*> images;
   Surface* arrow_scrollup;
   Surface* arrow_scrolldown;
+
+private:
+  InfoBox(const InfoBox&);
+  InfoBox& operator=(const InfoBox&);
 };
 
 /**
@@ -90,6 +98,7 @@ public:
   static Color heading_color;
   static Color reference_color;
   static Color normal_color;
+
 private:
   float defaultspeed;
   float speed;