Codechange: Ensure function opening { is on new line.

This commit is contained in:
Peter Nelson
2023-11-09 19:20:41 +00:00
committed by Peter Nelson
parent 1de1af08b9
commit d4008850e3
22 changed files with 64 additions and 32 deletions

View File

@@ -45,7 +45,8 @@ namespace SQConvert {
template <> struct Return<HSQOBJECT> { static inline int Set(HSQUIRRELVM vm, HSQOBJECT res) { sq_pushobject(vm, res); return 1; } };
template <> struct Return<std::optional<std::string>> {
static inline int Set(HSQUIRRELVM vm, std::optional<std::string> res) {
static inline int Set(HSQUIRRELVM vm, std::optional<std::string> res)
{
if (res.has_value()) {
sq_pushstring(vm, res.value(), -1);
} else {