summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index ed09fc5..64a8ac2 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -164,9 +164,11 @@ void dump(const Node *const node)
fprintf(stderr, "\n");
}
-void warn(int loc, std::string message)
+void warn(const int loc,
+ const std::string &message,
+ const std::string &param)
{
- warning_at(loc, 0, message.c_str());
+ warning_at(loc, 0, message.c_str(), param.c_str());
}
} \ No newline at end of file