mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Travis: Update clang from 4.0 to 5.0 (#6467)
* Update clang from 4.0 to 5.0
This commit is contained in:
parent
e6e5fa3bf8
commit
17016090e3
12 changed files with 55 additions and 37 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue