Make operator<< to return void

This should help preventing misuse.

No functional change.
This commit is contained in:
Marco Costalba
2014-04-03 10:34:25 +02:00
parent 0ba814b3ca
commit c15b132f03
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ public:
Option(int v, int min, int max, OnChange = NULL);
Option& operator=(const std::string& v);
Option& operator<<(const Option& o);
void operator<<(const Option& o);
operator int() const;
operator std::string() const;