mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 09:11:31 -04:00
fix build
- no warning on m_icon = icon in Notification - fix mac InternalLoader.cpp using Loader::get()->getLogs instead of log::Logs::list()
This commit is contained in:
parent
5e9d8bbac8
commit
1807f19b51
2 changed files with 2 additions and 2 deletions
loader/src
|
@ -19,7 +19,7 @@ void InternalLoader::platformMessageBox(char const* title, std::string const& in
|
|||
void InternalLoader::openPlatformConsole() {
|
||||
m_platformConsoleOpen = true;
|
||||
|
||||
for (auto const& log : Loader::get()->getLogs()) {
|
||||
for (auto const& log : log::Logs::list()) {
|
||||
std::cout << log->toString(true) << "\n";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ bool Notification::init(std::string const& text, CCSprite* icon, float time) {
|
|||
m_label->setScale(.6f);
|
||||
m_bg->addChild(m_label);
|
||||
|
||||
if (m_icon = icon) {
|
||||
if ((m_icon = icon)) {
|
||||
m_bg->addChild(icon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue