diff options
Diffstat (limited to 'NT/src/rotor.h')
| -rw-r--r-- | NT/src/rotor.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/NT/src/rotor.h b/NT/src/rotor.h index 72843a2..6d56299 100644 --- a/NT/src/rotor.h +++ b/NT/src/rotor.h @@ -93,17 +93,11 @@ namespace Rotor { operator int () const { //overload C style cast to int return value; } - friend istream& operator>> (istream &in, Enum &en); + friend std::istream& operator>> (std::istream &in, Rotor::Enum &en); private: std::vector<std::string> labels; int value; }; - - istream& operator>> (istream &in, Enum &en) - { - in >> en.value; - return in; - }; class Audio_frame{ public: |
