From 562d9e905d5efcd492f439668007cde8976f3a77 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 7 Nov 2012 16:51:44 -0500 Subject: [PATCH] Make sure to return a value for the = operator... --- Core/src/StopWatchWin32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/StopWatchWin32.cpp b/Core/src/StopWatchWin32.cpp index 6f6025c..c51965b 100755 --- a/Core/src/StopWatchWin32.cpp +++ b/Core/src/StopWatchWin32.cpp @@ -50,6 +50,7 @@ StopWatch &StopWatch::operator=(const StopWatch &other) { } impl = new StopWatchImpl(); memcpy(impl, other.impl, sizeof(StopWatchImpl)); + return *this; } StopWatch::~StopWatch() {