diff options
Diffstat (limited to 'yapf/yapf.hpp')
-rw-r--r-- | yapf/yapf.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapf/yapf.hpp b/yapf/yapf.hpp index a35140be8..f9c3f4720 100644 --- a/yapf/yapf.hpp +++ b/yapf/yapf.hpp @@ -77,7 +77,7 @@ struct CPerfStartReal { CPerformanceTimer* m_pperf; - FORCEINLINE CPerfStartReal(CPerformanceTimer& perf) : m_pperf(&perf) {if (m_pperf != NULL) m_pperf->Start();} + FORCEINLINE CPerfStartReal(CPerformanceTimer& perf) : m_pperf(&perf) {if (m_pperf != NULL) m_pperf->Start();} FORCEINLINE ~CPerfStartReal() {Stop();} FORCEINLINE void Stop() {if (m_pperf != NULL) {m_pperf->Stop(); m_pperf = NULL;}} }; |