summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-03-19 23:33:44 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-03-19 23:33:44 +0000
commit5cf7d650c8308a8c3a2de8ab61c763221a3de37e (patch)
tree1fcc2c1fe824adc28622d4cf8b9a11f18e01990a /src
parentf5da1671fdb19c8930acc6af276ba3e8cab8cb7b (diff)
Small code tweak
Diffstat (limited to 'src')
-rw-r--r--src/file.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.hh b/src/file.hh
index 0515c89a..68e401c9 100644
--- a/src/file.hh
+++ b/src/file.hh
@@ -14,7 +14,7 @@ struct file_access_error : runtime_error
public:
file_access_error(StringView filename,
StringView error_desc)
- : runtime_error(filename + ": "_str + error_desc) {}
+ : runtime_error(filename + ": " + error_desc) {}
};
struct file_not_found : file_access_error