aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index 323003b..2d682f8 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -180,7 +180,7 @@ namespace bpkg
dir_path d (args.more () ? args.next () : ".");
if (d.empty ())
- throw invalid_path (d.string ());
+ throw invalid_path (d.representation ());
l4 ([&]{trace << "creating repository in " << d;});