Apply cosmetic suggestions
This commit is contained in:
parent
825ca45341
commit
181710ee58
|
@ -25,7 +25,7 @@ private:
|
|||
SystemClock() {}
|
||||
~SystemClock() {}
|
||||
SystemClock(SystemClock const&) = delete;
|
||||
SystemClock& operator=(const SystemClock&)= delete;
|
||||
SystemClock& operator=(const SystemClock&) = delete;
|
||||
public:
|
||||
static SystemClock* Instance() {
|
||||
static SystemClock instance;
|
||||
|
@ -48,7 +48,7 @@ private:
|
|||
FixedClock(): nFixedTime(0) {}
|
||||
~FixedClock() {}
|
||||
FixedClock(FixedClock const&) = delete;
|
||||
FixedClock& operator=(const FixedClock&)= delete;
|
||||
FixedClock& operator=(const FixedClock&) = delete;
|
||||
|
||||
void Set(int64_t nFixedTime) {
|
||||
this->nFixedTime = nFixedTime;
|
||||
|
@ -78,7 +78,7 @@ private:
|
|||
OffsetClock(): nOffsetSeconds(0) {}
|
||||
~OffsetClock() {}
|
||||
OffsetClock(OffsetClock const&) = delete;
|
||||
OffsetClock& operator=(const OffsetClock&)= delete;
|
||||
OffsetClock& operator=(const OffsetClock&) = delete;
|
||||
|
||||
void Set(int64_t nOffsetSeconds) {
|
||||
this->nOffsetSeconds = nOffsetSeconds;
|
||||
|
|
Loading…
Reference in New Issue