Index: include/ots-memory-stream.h |
=================================================================== |
--- include/ots-memory-stream.h (revision 50) |
+++ include/ots-memory-stream.h (working copy) |
@@ -18,7 +18,7 @@ |
: ptr_(ptr), length_(length), off_(0) { |
} |
- bool WriteRaw(const void *data, size_t length) { |
+ virtual bool WriteRaw(const void *data, size_t length) { |
Yusuke Sato
2011/02/04 06:12:52
Please be consistent: if you add virtual to WriteR
bashi
2011/02/07 01:17:07
Done.
|
if ((off_ + length > length_) || |
(length > std::numeric_limits<size_t>::max() - off_)) { |
return false; |