Travis: Update clang from 4.0 to 5.0 (#6467)
[oweals/minetest.git] / src / profiler.cpp
index 738a5b7e3957e9f3e3215ebc8f6fb8c1d0b972b7..f8d4fc181989fff755c758367af49cb0c431cdc2 100644 (file)
@@ -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);