From 112a619ec1ec4833182e416e074fef14ed7ccb55 Mon Sep 17 00:00:00 2001 From: Oli Wilkinson Date: Wed, 20 Jan 2016 18:44:44 +0000 Subject: [PATCH] Disabled assignment operator of TableKeyComparator; was causing warning C4512 on VS2010 and thus causing the build to fail. --- include/flatbuffers/flatbuffers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/flatbuffers/flatbuffers.h b/include/flatbuffers/flatbuffers.h index 8f4ff7563..14a055e8b 100644 --- a/include/flatbuffers/flatbuffers.h +++ b/include/flatbuffers/flatbuffers.h @@ -938,6 +938,9 @@ FLATBUFFERS_FINAL_CLASS return table_a->KeyCompareLessThan(table_b); } vector_downward& buf_; + + private: + TableKeyComparator& operator= (const TableKeyComparator&); }; /// @endcond