summaryrefslogtreecommitdiff
path: root/src/profiler.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-10-09 11:32:06 +0200
committerGitHub <noreply@github.com>2017-10-09 11:32:06 +0200
commit17016090e38cc44e58517129278c28dd7943b4cc (patch)
treea0ba6d0628f333c28b2e584cc6eb6d1ef413aa07 /src/profiler.cpp
parente6e5fa3bf8853f149fdef16b39af3981097176a4 (diff)
downloadminetest-17016090e38cc44e58517129278c28dd7943b4cc.tar.gz
minetest-17016090e38cc44e58517129278c28dd7943b4cc.tar.bz2
minetest-17016090e38cc44e58517129278c28dd7943b4cc.zip
Travis: Update clang from 4.0 to 5.0 (#6467)
* Update clang from 4.0 to 5.0
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);