summaryrefslogtreecommitdiff
path: root/src/profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiler.cpp')
-rw-r--r--src/profiler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/profiler.cpp b/src/profiler.cpp
index 738a5b7e3..f8d4fc181 100644
--- a/src/profiler.cpp
+++ b/src/profiler.cpp
@@ -22,8 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
static Profiler main_profiler;
Profiler *g_profiler = &main_profiler;
ScopeProfiler::ScopeProfiler(
- Profiler *profiler, const std::string &name, ScopeProfilerType type)
- : m_profiler(profiler), m_name(name), m_type(type)
+ Profiler *profiler, const std::string &name, ScopeProfilerType type) :
+ m_profiler(profiler),
+ m_name(name), m_type(type)
{
if (m_profiler)
m_timer = new TimeTaker(m_name);