From f8f74c7c089f729c2181aea7c26d905d58180485 Mon Sep 17 00:00:00 2001 From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 09 八月 2017 10:46:14 +0800 Subject: [PATCH] --- VisitFace/RtspNativeCodec/app/libs/capnproto/include/capnp/any.h | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/libs/capnproto/include/capnp/any.h b/VisitFace/RtspNativeCodec/app/libs/capnproto/include/capnp/any.h index 2ac427d..6df9dc8 100644 --- a/VisitFace/RtspNativeCodec/app/libs/capnproto/include/capnp/any.h +++ b/VisitFace/RtspNativeCodec/app/libs/capnproto/include/capnp/any.h @@ -461,8 +461,6 @@ inline Reader(T&& value) : _reader(_::PointerHelpers<FromReader<T>>::getInternalReader(kj::fwd<T>(value))) {} - inline MessageSize totalSize() const { return _reader.totalSize().asPublic(); } - kj::ArrayPtr<const byte> getDataSection() { return _reader.getDataSectionAsBlob(); } @@ -485,11 +483,6 @@ // T must be a struct type. return typename T::Reader(_reader); } - - template <typename T> - ReaderFor<T> as(StructSchema schema) const; - // T must be DynamicStruct. Defined in dynamic.h. - private: _::StructReader _reader; @@ -536,11 +529,6 @@ // T must be a struct type. return typename T::Builder(_builder); } - - template <typename T> - BuilderFor<T> as(StructSchema schema); - // T must be DynamicStruct. Defined in dynamic.h. - private: _::StructBuilder _builder; friend class Orphanage; -- Gitblit v1.8.0