summaryrefslogtreecommitdiffstats
path: root/common/entitybuffer.h
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-09-04 13:47:27 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-09-04 13:47:27 +0200
commit19f3b3c0b38cb8a92da77e60491027b7c9b48a16 (patch)
tree489d6fc0c5b1fa443c8260f51042583b83bdf363 /common/entitybuffer.h
parent64bba04624b08ace6028d8f3408335a9c2bae10e (diff)
downloadsink-19f3b3c0b38cb8a92da77e60491027b7c9b48a16.tar.gz
sink-19f3b3c0b38cb8a92da77e60491027b7c9b48a16.zip
make it compile
Diffstat (limited to 'common/entitybuffer.h')
-rw-r--r--common/entitybuffer.h2
1 files changed, 1 insertions, 1 deletions
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:
33 static const T *readBuffer(const uint8_t *data, int size) 33 static const T *readBuffer(const uint8_t *data, int size)
34 { 34 {
35 flatbuffers::Verifier verifier(data, size); 35 flatbuffers::Verifier verifier(data, size);
36 if (verifier.VerifyBuffer<T>()) { 36 if (verifier.VerifyBuffer<T>(nullptr)) {
37 return flatbuffers::GetRoot<T>(data); 37 return flatbuffers::GetRoot<T>(data);
38 } 38 }
39 return nullptr; 39 return nullptr;