style: apply readability-braces-around-statements (#8136)

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
Eisuke Kawashima
2026-02-09 20:10:50 +09:00
committed by GitHub
parent 3aab2653cd
commit e89c9f656a
44 changed files with 1026 additions and 468 deletions

View File

@@ -53,7 +53,9 @@ static CoordGenParams defaultParams;
*/
template <typename T>
unsigned int addCoords(T &mol, const CoordGenParams *params = nullptr) {
if (!params) params = &defaultParams;
if (!params) {
params = &defaultParams;
}
// FIX: the default value of this should be handled once in a threadsafe way
std::string templateFileDir;
if (params->templateFileDir != "") {