From 98deb07854e39eee7861278b3a319b3a0edfb3c8 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 11 Feb 2014 10:51:02 +0000 Subject: only use one decoder object in video bank --- NT/src/rotor.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'NT/src/rotor.cpp') diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp index 1c46cad..5f75826 100644 --- a/NT/src/rotor.cpp +++ b/NT/src/rotor.cpp @@ -9,6 +9,12 @@ using namespace std; using namespace Rotor; +std::istream& operator>> (std::istream &in, Rotor::Enum &en) +{ + in >> en.value; + return in; +}; + string Variable::get_connection_id(){ if (connection) return connection->get_id(); return ""; @@ -64,7 +70,7 @@ Json::Value Node::to_json(){ } } return node; -} +}; -- cgit v1.2.3