aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 15:52:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:06:26 +0200
commitbc6050a7b42581f0d4fbbe3f4b38b7ed02239d72 (patch)
treeafa63befc8013387c8eabee22f53092330be82b3 /libbutl/path.cxx
parent95ee62c4079e68d9b2444b490cfb68c703023ab8 (diff)
Suppress bogus GCC 12 -Wrestrict warning
Diffstat (limited to 'libbutl/path.cxx')
-rw-r--r--libbutl/path.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/path.cxx b/libbutl/path.cxx
index e4f373e..bd66f13 100644
--- a/libbutl/path.cxx
+++ b/libbutl/path.cxx
@@ -184,8 +184,8 @@ namespace butl
using std::to_string;
return prefix
- + "-" + to_string (process::current_id ())
- + "-" + to_string (temp_name_count++);
+ + '-' + to_string (process::current_id ())
+ + '-' + to_string (temp_name_count++);
}
template <>