~ubuntu-branches/debian/stretch/protobuf/stretch

« back to all changes in this revision

Viewing changes to src/google/protobuf/io/zero_copy_stream.cc

  • Committer: Package Import Robot
  • Author(s): Robert S. Edmonds
  • Date: 2014-09-11 22:50:10 UTC
  • mfrom: (10.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20140911225010-wt4yo9dpc1fzuq5g
Tags: 2.6.0-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
#include <google/protobuf/io/zero_copy_stream.h>
36
36
 
 
37
#include <google/protobuf/stubs/common.h>
37
38
 
38
39
namespace google {
39
40
namespace protobuf {
43
44
ZeroCopyOutputStream::~ZeroCopyOutputStream() {}
44
45
 
45
46
 
 
47
bool ZeroCopyOutputStream::WriteAliasedRaw(const void* /* data */,
 
48
                                           int /* size */) {
 
49
  GOOGLE_LOG(FATAL) << "This ZeroCopyOutputStream doesn't support aliasing. "
 
50
                "Reaching here usually means a ZeroCopyOutputStream "
 
51
                "implementation bug.";
 
52
  return false;
 
53
}
 
54
 
46
55
}  // namespace io
47
56
}  // namespace protobuf
48
57
}  // namespace google