From 64cf7e11f5a8407e65eb194d5fa9638e6d42342a Mon Sep 17 00:00:00 2001 From: Paul Conner <97137029+qec-pconner@users.noreply.github.com> Date: Fri, 6 Sep 2024 20:30:25 -0700 Subject: [PATCH] Fixing Extra Semicolon (#821) * Removing unnecessary `;` on `JsonObj::JsonObj(std::vector)`. * Trips off `-Wpedantic` and other warnings. * Fixing newlines around function definition. --- src/stim/diagram/json_obj.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stim/diagram/json_obj.cc b/src/stim/diagram/json_obj.cc index d59bc578..71e44d5d 100644 --- a/src/stim/diagram/json_obj.cc +++ b/src/stim/diagram/json_obj.cc @@ -48,8 +48,8 @@ JsonObj::JsonObj(std::map map) : map(map), type(JsonTypeMa } JsonObj::JsonObj(std::vector arr) : arr(arr), type(JsonTypeArray) { +} -}; JsonObj::JsonObj(bool boolean) : val_boolean(boolean), type(JsonTypeBool) { }