diff --git a/ReactCommon/cxxreact/SystraceSection.h b/ReactCommon/cxxreact/SystraceSection.h index 90a0cd30a31..97f93af0b60 100644 --- a/ReactCommon/cxxreact/SystraceSection.h +++ b/ReactCommon/cxxreact/SystraceSection.h @@ -25,26 +25,27 @@ namespace react { */ #ifdef WITH_FBSYSTRACE struct ConcreteSystraceSection { -public: - template - explicit - ConcreteSystraceSection(__unused const char* name, __unused ConvertsToStringPiece&&... args) - : m_section(TRACE_TAG_REACT_CXX_BRIDGE, name, args...) - {} + public: + template + explicit ConcreteSystraceSection( + const char *name, + ConvertsToStringPiece &&... args) + : m_section(TRACE_TAG_REACT_CXX_BRIDGE, name, args...) {} -private: + private: fbsystrace::FbSystraceSection m_section; }; using SystraceSection = ConcreteSystraceSection; #else struct DummySystraceSection { -public: - template - explicit - DummySystraceSection(__unused const char* name, __unused ConvertsToStringPiece&&... args) - {} + public: + template + explicit DummySystraceSection( + __unused const char *name, + __unused ConvertsToStringPiece &&... args) {} }; using SystraceSection = DummySystraceSection; #endif -}} +} // namespace react +} // namespace facebook