Skip to content

Commit 64cf7e1

Browse files
authored
Fixing Extra Semicolon (#821)
* Removing unnecessary `;` on `JsonObj::JsonObj(std::vector<JsonObj>)`. * Trips off `-Wpedantic` and other warnings. * Fixing newlines around function definition.
1 parent 8a23f4c commit 64cf7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stim/diagram/json_obj.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ JsonObj::JsonObj(std::map<std::string, JsonObj> map) : map(map), type(JsonTypeMa
4848
}
4949

5050
JsonObj::JsonObj(std::vector<JsonObj> arr) : arr(arr), type(JsonTypeArray) {
51+
}
5152

52-
};
5353
JsonObj::JsonObj(bool boolean) : val_boolean(boolean), type(JsonTypeBool) {
5454
}
5555

0 commit comments

Comments
 (0)