summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.h')
-rw-r--r--crawl-ref/source/xom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.h b/crawl-ref/source/xom.h
index eade8784bd..ec8878c9b1 100644
--- a/crawl-ref/source/xom.h
+++ b/crawl-ref/source/xom.h
@@ -25,7 +25,7 @@ enum xom_message_type
void xom_is_stimulated(int maxinterestingness,
xom_message_type message_type = XM_NORMAL,
bool force_message = false);
-void xom_is_stimulated(int maxinterestingness, std::string message,
+void xom_is_stimulated(int maxinterestingness, const std::string& message,
bool force_message = false);
bool xom_is_nice();
void xom_acts(bool niceness, int sever);