summaryrefslogtreecommitdiff
path: root/net/FlatBuffers
diff options
context:
space:
mode:
Diffstat (limited to 'net/FlatBuffers')
-rw-r--r--net/FlatBuffers/Struct.cs2
-rw-r--r--net/FlatBuffers/Table.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/FlatBuffers/Struct.cs b/net/FlatBuffers/Struct.cs
index 4f7fac9d..4832cda3 100644
--- a/net/FlatBuffers/Struct.cs
+++ b/net/FlatBuffers/Struct.cs
@@ -25,7 +25,7 @@ namespace FlatBuffers
public ByteBuffer bb { get; private set; }
// Re-init the internal state with an external buffer {@code ByteBuffer} and an offset within.
- public Struct(int _i, ByteBuffer _bb)
+ public Struct(int _i, ByteBuffer _bb) : this()
{
bb = _bb;
bb_pos = _i;
diff --git a/net/FlatBuffers/Table.cs b/net/FlatBuffers/Table.cs
index b771ae2c..2ed07884 100644
--- a/net/FlatBuffers/Table.cs
+++ b/net/FlatBuffers/Table.cs
@@ -31,7 +31,7 @@ namespace FlatBuffers
public ByteBuffer ByteBuffer { get { return bb; } }
// Re-init the internal state with an external buffer {@code ByteBuffer} and an offset within.
- public Table(int _i, ByteBuffer _bb)
+ public Table(int _i, ByteBuffer _bb) : this()
{
bb = _bb;
bb_pos = _i;