diff options
Diffstat (limited to 'src/google/protobuf/io/zero_copy_stream.cc')
-rw-r--r-- | src/google/protobuf/io/zero_copy_stream.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/google/protobuf/io/zero_copy_stream.cc b/src/google/protobuf/io/zero_copy_stream.cc index f77c768..dad6ff1 100644 --- a/src/google/protobuf/io/zero_copy_stream.cc +++ b/src/google/protobuf/io/zero_copy_stream.cc @@ -1,6 +1,6 @@ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ +// http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -34,7 +34,6 @@ #include <google/protobuf/io/zero_copy_stream.h> -#include <google/protobuf/stubs/common.h> namespace google { namespace protobuf { @@ -44,14 +43,6 @@ ZeroCopyInputStream::~ZeroCopyInputStream() {} ZeroCopyOutputStream::~ZeroCopyOutputStream() {} -bool ZeroCopyOutputStream::WriteAliasedRaw(const void* /* data */, - int /* size */) { - GOOGLE_LOG(FATAL) << "This ZeroCopyOutputStream doesn't support aliasing. " - "Reaching here usually means a ZeroCopyOutputStream " - "implementation bug."; - return false; -} - } // namespace io } // namespace protobuf } // namespace google |