Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/application.cc2
-rw-r--r--src/core/application.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/application.cc b/src/core/application.cc
index 71d739f..09e900d 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -518,7 +518,7 @@ void Application::load_commandline(int count, char **arguments)
cmd() << '\n';
}
-void Application::notify_message(Message::Channel const channel, std::string const message)
+void Application::notify_message(const core::Message::Channel channel, const std::string &message)
{
con_print << message << std::endl;
}
diff --git a/src/core/application.h b/src/core/application.h
index 229f318..f241aa3 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -70,7 +70,7 @@ public:
virtual void notify_sound(const char * name);
/// text notifications from the core to the application
- virtual void notify_message(Message::Channel const channel, std::string const message);
+ virtual void notify_message(const core::Message::Channel channel, const std::string &message);
/// connect notification
virtual void notify_connect();