Commit 39a846fa authored by Matthew Maurer's avatar Matthew Maurer

Remove unneded canonical parameters

parent c13d6ad9
...@@ -2362,7 +2362,7 @@ Text::Builder PointerBuilder::initBlob<Text>(ByteCount size) { ...@@ -2362,7 +2362,7 @@ Text::Builder PointerBuilder::initBlob<Text>(ByteCount size) {
return WireHelpers::initTextPointer(pointer, segment, capTable, size).value; return WireHelpers::initTextPointer(pointer, segment, capTable, size).value;
} }
template <> template <>
void PointerBuilder::setBlob<Text>(Text::Reader value, bool canonical) { void PointerBuilder::setBlob<Text>(Text::Reader value) {
WireHelpers::setTextPointer(pointer, segment, capTable, value); WireHelpers::setTextPointer(pointer, segment, capTable, value);
} }
template <> template <>
...@@ -2375,7 +2375,7 @@ Data::Builder PointerBuilder::initBlob<Data>(ByteCount size) { ...@@ -2375,7 +2375,7 @@ Data::Builder PointerBuilder::initBlob<Data>(ByteCount size) {
return WireHelpers::initDataPointer(pointer, segment, capTable, size).value; return WireHelpers::initDataPointer(pointer, segment, capTable, size).value;
} }
template <> template <>
void PointerBuilder::setBlob<Data>(Data::Reader value, bool canonical) { void PointerBuilder::setBlob<Data>(Data::Reader value) {
WireHelpers::setDataPointer(pointer, segment, capTable, value); WireHelpers::setDataPointer(pointer, segment, capTable, value);
} }
template <> template <>
......
...@@ -341,7 +341,7 @@ public: ...@@ -341,7 +341,7 @@ public:
void setStruct(const StructReader& value, bool canonical = false); void setStruct(const StructReader& value, bool canonical = false);
void setList(const ListReader& value, bool canonical = false); void setList(const ListReader& value, bool canonical = false);
template <typename T> void setBlob(typename T::Reader value, bool canonical = false); template <typename T> void setBlob(typename T::Reader value);
#if !CAPNP_LITE #if !CAPNP_LITE
void setCapability(kj::Own<ClientHook>&& cap); void setCapability(kj::Own<ClientHook>&& cap);
#endif // !CAPNP_LITE #endif // !CAPNP_LITE
...@@ -947,12 +947,12 @@ private: ...@@ -947,12 +947,12 @@ private:
// These are defined in the source file. // These are defined in the source file.
template <> typename Text::Builder PointerBuilder::initBlob<Text>(ByteCount size); template <> typename Text::Builder PointerBuilder::initBlob<Text>(ByteCount size);
template <> void PointerBuilder::setBlob<Text>(typename Text::Reader value, bool canonical); template <> void PointerBuilder::setBlob<Text>(typename Text::Reader value);
template <> typename Text::Builder PointerBuilder::getBlob<Text>(const void* defaultValue, ByteCount defaultSize); template <> typename Text::Builder PointerBuilder::getBlob<Text>(const void* defaultValue, ByteCount defaultSize);
template <> typename Text::Reader PointerReader::getBlob<Text>(const void* defaultValue, ByteCount defaultSize) const; template <> typename Text::Reader PointerReader::getBlob<Text>(const void* defaultValue, ByteCount defaultSize) const;
template <> typename Data::Builder PointerBuilder::initBlob<Data>(ByteCount size); template <> typename Data::Builder PointerBuilder::initBlob<Data>(ByteCount size);
template <> void PointerBuilder::setBlob<Data>(typename Data::Reader value, bool canonical); template <> void PointerBuilder::setBlob<Data>(typename Data::Reader value);
template <> typename Data::Builder PointerBuilder::getBlob<Data>(const void* defaultValue, ByteCount defaultSize); template <> typename Data::Builder PointerBuilder::getBlob<Data>(const void* defaultValue, ByteCount defaultSize);
template <> typename Data::Reader PointerReader::getBlob<Data>(const void* defaultValue, ByteCount defaultSize) const; template <> typename Data::Reader PointerReader::getBlob<Data>(const void* defaultValue, ByteCount defaultSize) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment