Remove all debugging printouts to stdout

This commit is contained in:
Paul Hollinsky
2018-10-30 15:02:01 -04:00
parent ccd26a3637
commit 92d98f8bd5
16 changed files with 79 additions and 46 deletions
@@ -21,14 +21,7 @@ public:
return false;
}
const auto main51Message = std::dynamic_pointer_cast<Main51Message>(message);
if(!main51Message)
std::cout << "could not upcast " << message->network << std::endl;
if(main51Message == nullptr || !matchCommand(main51Message->command)) {
if(main51Message)
std::cout << "Could not match command " << (int)(command) << " to " << (int)(main51Message->command) << std::endl;
return false;
}
return true;
return main51Message && matchCommand(main51Message->command);
}
private: