summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context.h b/src/context.h
index e5457641..e787f335 100644
--- a/src/context.h
+++ b/src/context.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2013, John Wiegley. All rights reserved.
+ * Copyright (c) 2003-2015, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -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()));
}
};