diff options
-rw-r--r-- | libbutl/path.mxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbutl/path.mxx b/libbutl/path.mxx index fecbaf6..520453a 100644 --- a/libbutl/path.mxx +++ b/libbutl/path.mxx @@ -681,7 +681,9 @@ LIBBUTL_MODEXPORT namespace butl static basic_path temp_path (const string_type& prefix) { - return temp_directory () / traits::temp_name (prefix); + basic_path r (temp_directory ()); + r /= traits::temp_name (prefix); + return r; } public: |