Core/Log: Fix errors not being written in NazaraLog.log
>.> Former-commit-id: adce8a3bc0bb64259737b27298df4551cf6cad7d [formerly f9acff41d4178b0156115c0346342d9ed0121874] [formerly 0e35f200661e175a12426683abad5ae474297872 [formerly e56e7a3d51be5c79e8f975639c7eac0be7910d8f]] Former-commit-id: f38cd83510fd55b1d5b4a6d9635963974367431a [formerly 463d76ed049ddc1bfd8e38f29b9f06dc2dd6f008] Former-commit-id: c053b343069348176fa824df9e2fd84e89a602bf
This commit is contained in:
parent
11d483f115
commit
54c9097cd1
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue