Core/Log: Fix errors not being written in NazaraLog.log
>.> Former-commit-id: 0aaaced48b71709efbe19255f12053d2ee3c1cd0 [formerly bdfff4f0dbc3f85c39d16966f0060706039a34a3] [formerly 6084c5725e4b55a72a1c23682b296507f8ef87e2 [formerly eaef4ab9e73788599dbfab43d11566c21435a334]] Former-commit-id: 4762ce471a7cb88c8bbc6f551daa5db31e57a38c [formerly b2e6b592bfdab34e367674ea48e79659934a08a5] Former-commit-id: 9f7ab7e7441f6c50f74c8d9a9b0a5fc9363a74e9
This commit is contained in:
parent
9d54bb8700
commit
c1b2f3af00
|
|
@ -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