summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.h b/src/context.h
index 9f5bfe8f..27b733a1 100644
--- a/src/context.h
+++ b/src/context.h
@@ -101,10 +101,10 @@ public:
}
void warning(const string& what) const {
- warning_func(location() + what);
+ warning_func(location() + " " + what);
}
void warning(const boost::format& what) const {
- warning_func(location() + string(what.str()));
+ warning_func(location() + " " + string(what.str()));
}
};