From 53b8d4c9a947698ef3803ed15d7ba6a078f0fa62 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 7 Nov 2012 15:21:55 -0500 Subject: [PATCH] Fix compiler errors with functions not returning values. --- Core/src/Thread.cpp | 2 ++ Core/src/ThreadGroup.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Core/src/Thread.cpp b/Core/src/Thread.cpp index cb39052..24da37b 100644 --- a/Core/src/Thread.cpp +++ b/Core/src/Thread.cpp @@ -34,6 +34,8 @@ TCThreadBase &TCThreadBase::operator=(const TCThreadBase &other) { // Our implementation is now the same as the other. m_Impl = other.m_Impl; m_Impl->IncreaseReferenceCount(); + + return *this; } TCThreadBase::~TCThreadBase() { diff --git a/Core/src/ThreadGroup.cpp b/Core/src/ThreadGroup.cpp index d76a116..7c64454 100644 --- a/Core/src/ThreadGroup.cpp +++ b/Core/src/ThreadGroup.cpp @@ -243,6 +243,8 @@ bool ThreadGroup::CleanUpThreads() { // Reset active number of threads... m_ActiveThreads = 0; m_ExitFlag = false; + + return true; } void ThreadGroup::Join() {