Index: src/core/model/log.cc |
=================================================================== |
--- a/src/core/model/log.cc |
+++ b/src/core/model/log.cc |
@@ -680,4 +680,36 @@ |
return *this; |
} |
+template<> |
+ParameterLogger& |
+ParameterLogger::operator<< <int8_t>(const int8_t param) |
+{ |
+ if (m_first) |
+ { |
+ m_os << static_cast<int16_t> (param); |
+ m_first = false; |
+ } |
+ else |
+ { |
+ m_os << ", " << static_cast<int16_t> (param); |
+ } |
+ return *this; |
+} |
+ |
+template<> |
+ParameterLogger& |
+ParameterLogger::operator<< <uint8_t>(const uint8_t param) |
+{ |
+ if (m_first) |
+ { |
+ m_os << static_cast<uint16_t> (param); |
+ m_first = false; |
+ } |
+ else |
+ { |
+ m_os << ", " << static_cast<uint16_t> (param); |
+ } |
+ return *this; |
+} |
+ |
Peter Barnes
2018/05/11 21:58:12
This is already in upstream, and unrelated to this
ammo6818-vandals.uidaho.edu
2018/05/16 15:06:28
One of the previous review comments was support fo
|
} // namespace ns3 |