We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6842acb commit 7741150Copy full SHA for 7741150
1 file changed
Launcher.h
@@ -417,24 +417,27 @@ class Launcher : public PluginHost::IPlugin {
417
Time()
418
: _hour(~0)
419
, _minute(~0)
420
- , _second(~0)
421
- {
+ , _second(~0) {
422
}
423
Time(const string& time)
424
425
426
427
428
Parse(time);
429
430
Time(const Time& copy)
431
: _hour(copy._hour)
432
, _minute(copy._minute)
433
- , _second(copy._second)
434
+ , _second(copy._second) {
435
436
- ~Time ()
437
+ ~Time () = default;
+
+ Time& operator= (const Time& rhs) {
+ _hour = rhs._hour;
+ _minute = rhs._minute;
438
+ _second = rhs._second;
439
440
+ return (*this);
441
442
443
static constexpr uint32_t MilliSecondsPerSecond = 1000;
0 commit comments