Explorar o código

Remove const data member from ByteStream to make it copyable

Yash Tibrewal %!s(int64=5) %!d(string=hai) anos
pai
achega
7a654ed1a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/lib/transport/byte_stream.h

+ 1 - 1
src/core/lib/transport/byte_stream.h

@@ -72,7 +72,7 @@ class ByteStream : public Orphanable {
       : length_(length), flags_(flags) {}
 
  private:
-  const uint32_t length_;
+  uint32_t length_;
   uint32_t flags_;
 };