From b56020ad3b8e1482b599d721144f635b489e0477 Mon Sep 17 00:00:00 2001 From: Jon Simantov Date: Wed, 22 Jul 2015 11:46:14 -0700 Subject: [PATCH] Updated pointer syntax to be consistent in SetString, etc. --- include/flatbuffers/reflection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/flatbuffers/reflection.h b/include/flatbuffers/reflection.h index 66352a80a..53112f214 100644 --- a/include/flatbuffers/reflection.h +++ b/include/flatbuffers/reflection.h @@ -277,7 +277,7 @@ class ResizeContext { public: ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, std::vector *flatbuf, - const reflection::Object* root_table = nullptr) + const reflection::Object *root_table = nullptr) : schema_(schema), startptr_(flatbuf->data() + start), delta_(delta), buf_(*flatbuf), dag_check_(flatbuf->size() / sizeof(uoffset_t), false) { @@ -402,7 +402,7 @@ class ResizeContext { // pass in your root_table type as well. inline void SetString(const reflection::Schema &schema, const std::string &val, const String *str, std::vector *flatbuf, - const reflection::Object* root_table = nullptr) { + const reflection::Object *root_table = nullptr) { auto delta = static_cast(val.size()) - static_cast(str->Length()); auto start = static_cast(reinterpret_cast(str) - flatbuf->data() +