diff --git a/public/hermes/Public/CtorConfig.h b/public/hermes/Public/CtorConfig.h index 80924a48e1a..aff3f3989cb 100644 --- a/public/hermes/Public/CtorConfig.h +++ b/public/hermes/Public/CtorConfig.h @@ -69,7 +69,7 @@ public: \ Builder() = default; \ \ - explicit Builder(const NAME &config) : config_(config){}; \ + explicit Builder(const NAME &config) : config_(config) {} \ \ inline const NAME build() { \ config_.doBuild(*this); \ diff --git a/public/hermes/Public/GCConfig.h b/public/hermes/Public/GCConfig.h index b7af5b664f6..8d3f316f74d 100644 --- a/public/hermes/Public/GCConfig.h +++ b/public/hermes/Public/GCConfig.h @@ -110,7 +110,7 @@ struct GCAnalyticsEvent { nullptr) \ /* GC_TRIPWIRE_FIELDS END */ -_HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {}); +_HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {}) #undef HEAP_TRIPWIRE_FIELDS @@ -124,7 +124,7 @@ _HERMES_CTORCONFIG_STRUCT(GCTripwireConfig, GC_TRIPWIRE_FIELDS, {}); F(constexpr, int64_t, RandomSeed, -1) \ /* GC_HANDLESAN_FIELDS END */ -_HERMES_CTORCONFIG_STRUCT(GCSanitizeConfig, GC_HANDLESAN_FIELDS, {}); +_HERMES_CTORCONFIG_STRUCT(GCSanitizeConfig, GC_HANDLESAN_FIELDS, {}) #undef GC_HANDLESAN_FIELDS @@ -221,7 +221,7 @@ _HERMES_CTORCONFIG_STRUCT(GCConfig, GC_FIELDS, { // Make sure the max is at least the Init. MaxHeapSize_ = std::max(InitHeapSize_, MaxHeapSize_); -}); +}) #undef GC_FIELDS