Core/Log: Fix errors not being written in NazaraLog.log

>.>


Former-commit-id: 178df6de929a9269991b1276e5d4de4b97abc974 [formerly 42a2f2ab62d3ccad0e2982a885119d253860eb47] [formerly 6f243004c44cb890d64e4ca1095363cce72a00f1 [formerly 93410e519d31e1beefe518ee0d6eb5287434d0fc]]
Former-commit-id: 6c5e62f253e14369e62bd025a135dd945830b380 [formerly 3767c7055d270997c92da6bb728fa348be7c4f3b]
Former-commit-id: 2090b4f271a392ab46101021173cee951a9e93ad
This commit is contained in:
Lynix 2016-08-10 23:50:51 +02:00
parent 0deb88bc56
commit 888e39444a
3 changed files with 10 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace Nz
Signal();
Signal(const Signal&) = delete;
Signal(Signal&& signal);
~Signal() = default;
~Signal();
void Clear();

View File

@ -36,6 +36,12 @@ namespace Nz
operator=(std::move(signal));
}
template<typename ...Args>
Signal<Args...>::~Signal()
{
NazaraWarning("~Signal(" + String::Pointer(this) + ')');
}
/*!
* \brief Clears the list of actions attached to the signal
*/
@ -429,3 +435,4 @@ namespace Nz
}
#include <Nazara/Core/DebugOff.hpp>
#include "Signal.hpp"

View File

@ -47,5 +47,7 @@ namespace Nz
if (line != 0 && file && function)
stream << " (" << file << ':' << line << ": " << function << ')';
Write(stream);
}
}