Skip to content

Commit

Permalink
Fixing Extra Semicolon (#821)
Browse files Browse the repository at this point in the history
* Removing unnecessary `;` on `JsonObj::JsonObj(std::vector<JsonObj>)`.
  * Trips off `-Wpedantic` and other warnings.
* Fixing newlines around function definition.
  • Loading branch information
qec-pconner authored Sep 7, 2024
1 parent 8a23f4c commit 64cf7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stim/diagram/json_obj.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ JsonObj::JsonObj(std::map<std::string, JsonObj> map) : map(map), type(JsonTypeMa
}

JsonObj::JsonObj(std::vector<JsonObj> arr) : arr(arr), type(JsonTypeArray) {
}

};
JsonObj::JsonObj(bool boolean) : val_boolean(boolean), type(JsonTypeBool) {
}

Expand Down

0 comments on commit 64cf7e1

Please sign in to comment.