Buildfix
This commit is contained in:
parent
bf8d9ea327
commit
b21fe20459
2 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
||||||
#include "sdlmain.hpp"
|
#include "sdlmain.hpp"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <ciso646>
|
#include <ciso646>
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
namespace cloonel {
|
namespace cloonel {
|
||||||
namespace implem {
|
namespace implem {
|
||||||
|
@ -28,8 +27,7 @@ namespace cloonel {
|
||||||
assert(m_registered or not m_sdlmain);
|
assert(m_registered or not m_sdlmain);
|
||||||
m_registered = false;
|
m_registered = false;
|
||||||
#endif
|
#endif
|
||||||
if (m_registered) {
|
if (m_sdlmain) {
|
||||||
assert(m_sdlmain);
|
|
||||||
m_sdlmain->UnregisterForResChange(m_id);
|
m_sdlmain->UnregisterForResChange(m_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "vector.hpp"
|
#include "vector.hpp"
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
namespace cloonel {
|
namespace cloonel {
|
||||||
class SizeRatio;
|
class SizeRatio;
|
||||||
|
|
Loading…
Reference in a new issue