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:
@@ -34,7 +34,7 @@ namespace Nz
|
|||||||
Signal();
|
Signal();
|
||||||
Signal(const Signal&) = delete;
|
Signal(const Signal&) = delete;
|
||||||
Signal(Signal&& signal);
|
Signal(Signal&& signal);
|
||||||
~Signal() = default;
|
~Signal();
|
||||||
|
|
||||||
void Clear();
|
void Clear();
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,12 @@ namespace Nz
|
|||||||
operator=(std::move(signal));
|
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
|
* \brief Clears the list of actions attached to the signal
|
||||||
*/
|
*/
|
||||||
@@ -429,3 +435,4 @@ namespace Nz
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include <Nazara/Core/DebugOff.hpp>
|
#include <Nazara/Core/DebugOff.hpp>
|
||||||
|
#include "Signal.hpp"
|
||||||
|
|||||||
@@ -47,5 +47,7 @@ namespace Nz
|
|||||||
|
|
||||||
if (line != 0 && file && function)
|
if (line != 0 && file && function)
|
||||||
stream << " (" << file << ':' << line << ": " << function << ')';
|
stream << " (" << file << ':' << line << ": " << function << ')';
|
||||||
|
|
||||||
|
Write(stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user