aboutsummaryrefslogtreecommitdiff
path: root/old-tests/parser/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-07 01:24:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-12-07 10:30:25 +0300
commit1a9d610051cd48c98fb71a570a0871b4e073cec9 (patch)
tree7fc859248b3f23520745514f29b647e0b2941c13 /old-tests/parser/driver.cxx
parent8e258e150743f9d71a7bbd9f70af78a05d354456 (diff)
Make use of butl::path::current(), butl::path::parent()
Diffstat (limited to 'old-tests/parser/driver.cxx')
-rw-r--r--old-tests/parser/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/old-tests/parser/driver.cxx b/old-tests/parser/driver.cxx
index 7c73937..af50bd9 100644
--- a/old-tests/parser/driver.cxx
+++ b/old-tests/parser/driver.cxx
@@ -143,7 +143,7 @@ parse (const char* s)
// Create a minimal root scope.
//
- auto i (scopes.insert (path::current (), nullptr, true, true));
+ auto i (scopes.insert (path::current_directory (), nullptr, true, true));
scope& root (*i->second);
root.src_path_ = root.out_path_ = &i->first;