1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Cpp11 patchset 11: continue working on constructor style migration (#6004)

This commit is contained in:
Loïc Blot 2017-06-18 19:55:15 +02:00 committed by GitHub
parent 8f7785771b
commit 4faaadc8d5
39 changed files with 200 additions and 396 deletions

View file

@ -42,9 +42,7 @@ extern Profiler *g_profiler;
class Profiler
{
public:
Profiler()
{
}
Profiler() {}
void add(const std::string &name, float value)
{
@ -195,9 +193,9 @@ public:
ScopeProfilerType type = SPT_ADD);
~ScopeProfiler();
private:
Profiler *m_profiler;
Profiler *m_profiler = nullptr;
std::string m_name;
TimeTaker *m_timer;
TimeTaker *m_timer = nullptr;
enum ScopeProfilerType m_type;
};