diff options
Diffstat (limited to 'src/mem/ruby/buffers/MessageBufferNode.hh')
-rw-r--r-- | src/mem/ruby/buffers/MessageBufferNode.hh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mem/ruby/buffers/MessageBufferNode.hh b/src/mem/ruby/buffers/MessageBufferNode.hh index cb64974d5..747c1d889 100644 --- a/src/mem/ruby/buffers/MessageBufferNode.hh +++ b/src/mem/ruby/buffers/MessageBufferNode.hh @@ -30,6 +30,8 @@ #ifndef MESSAGEBUFFERNODE_H #define MESSAGEBUFFERNODE_H +#include <iostream> + #include "mem/ruby/common/Global.hh" #include "mem/ruby/slicc_interface/Message.hh" @@ -43,7 +45,7 @@ public: //~MessageBufferNode(); // Public Methods - void print(ostream& out) const; + void print(std::ostream& out) const; private: // Private Methods @@ -59,7 +61,7 @@ public: }; // Output operator declaration -ostream& operator<<(ostream& out, const MessageBufferNode& obj); +std::ostream& operator<<(std::ostream& out, const MessageBufferNode& obj); // ******************* Definitions ******************* @@ -78,10 +80,10 @@ bool node_less_then_eq(const MessageBufferNode& n1, const MessageBufferNode& n2) // Output operator definition extern inline -ostream& operator<<(ostream& out, const MessageBufferNode& obj) +std::ostream& operator<<(std::ostream& out, const MessageBufferNode& obj) { obj.print(out); - out << flush; + out << std::flush; return out; } |