mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
C++11 cleanup on constructors (#6000)
* C++11 cleanup on constructors dir script
This commit is contained in:
@@ -282,7 +282,7 @@ inline aabb3f getNodeBox(v3s16 p, float d)
|
||||
class IntervalLimiter
|
||||
{
|
||||
public:
|
||||
IntervalLimiter() : m_accumulator(0) {}
|
||||
IntervalLimiter() {}
|
||||
/*
|
||||
dtime: time from last call to this method
|
||||
wanted_interval: interval wanted
|
||||
@@ -300,7 +300,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
float m_accumulator;
|
||||
float m_accumulator = 0.0f;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user