From bc6050a7b42581f0d4fbbe3f4b38b7ed02239d72 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 15:52:15 +0200 Subject: Suppress bogus GCC 12 -Wrestrict warning --- libbutl/path.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/path.cxx') 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 <> -- cgit v1.1