Make sure to return a value for the = operator...

This commit is contained in:
Pavel Krajcevski 2012-11-07 16:51:44 -05:00
parent 113749c82f
commit 562d9e905d

View file

@ -50,6 +50,7 @@ StopWatch &StopWatch::operator=(const StopWatch &other) {
}
impl = new StopWatchImpl();
memcpy(impl, other.impl, sizeof(StopWatchImpl));
return *this;
}
StopWatch::~StopWatch() {