summaryrefslogtreecommitdiff
path: root/rld-compression.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-27 11:17:02 +1100
committerChris Johns <chrisj@rtems.org>2012-11-27 11:17:02 +1100
commitd060f462292e35df0851d9ae5883f29a662a010d (patch)
tree68c874904a431cedc4a9992bf0b21e139cba061d /rld-compression.h
parent3888d9d1ad825649dd44c628039a88a1c21b3702 (diff)
Remove size_t stream operator.
On Darwin the operator works which on CentOS and FreeBSD it is seen to be redefining the uint32_t stream operator. Too hard to provide a generic solution so just cast in the user code.
Diffstat (limited to 'rld-compression.h')
-rw-r--r--rld-compression.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/rld-compression.h b/rld-compression.h
index 7e510f1..c6370dc 100644
--- a/rld-compression.h
+++ b/rld-compression.h
@@ -138,12 +138,6 @@ static inline rld::compress::compressor& operator<< (rld::compress::compressor&
}
static inline rld::compress::compressor& operator<< (rld::compress::compressor& comp,
- const size_t value) {
- comp << (uint32_t) value;
- return comp;
-}
-
-static inline rld::compress::compressor& operator<< (rld::compress::compressor& comp,
const std::string& str) {
comp.write (str.c_str (), str.size ());
return comp;