From 19f3b3c0b38cb8a92da77e60491027b7c9b48a16 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 4 Sep 2016 13:47:27 +0200 Subject: make it compile --- common/domainadaptor.h | 2 +- common/entitybuffer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/domainadaptor.h b/common/domainadaptor.h index e0912e4..16fc8c2 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h @@ -78,7 +78,7 @@ static void createBufferPartBuffer(const Sink::ApplicationDomain::ApplicationDom // FIXME: This means all buffers in here must have the AKFB identifier fbb.Finish(pos, "AKFB"); flatbuffers::Verifier verifier(fbb.GetBufferPointer(), fbb.GetSize()); - if (!verifier.VerifyBuffer()) { + if (!verifier.VerifyBuffer(nullptr)) { SinkWarning_(0, "bufferadaptor") << "Created invalid uffer"; } } diff --git a/common/entitybuffer.h b/common/entitybuffer.h index 24f0b6b..866a7d0 100644 --- a/common/entitybuffer.h +++ b/common/entitybuffer.h @@ -33,7 +33,7 @@ public: static const T *readBuffer(const uint8_t *data, int size) { flatbuffers::Verifier verifier(data, size); - if (verifier.VerifyBuffer()) { + if (verifier.VerifyBuffer(nullptr)) { return flatbuffers::GetRoot(data); } return nullptr; -- cgit v1.2.3