diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-02-11 10:51:02 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-02-11 10:51:02 +0000 |
| commit | 98deb07854e39eee7861278b3a319b3a0edfb3c8 (patch) | |
| tree | 4293676a6739f29af71327372983dc80554f8c90 /NT/src/rotor.h | |
| parent | 4209aef911e38f494dcd0a97879277f9f2e0e8b4 (diff) | |
only use one decoder object in video bank
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: |
