aboutsummaryrefslogtreecommitdiff
path: root/ruby/contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/contents.cc')
-rw-r--r--ruby/contents.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/contents.cc b/ruby/contents.cc
index 10caa1f..0dd642a 100644
--- a/ruby/contents.cc
+++ b/ruby/contents.cc
@@ -174,7 +174,7 @@ namespace
if (1 == argc)
{
ptr = new std::shared_ptr<const ContentsEntry>(std::make_shared<A_>(
- FSEntry(StringValuePtr(argv[0]))));
+ FSPath(StringValuePtr(argv[0]))));
}
else
{
@@ -200,7 +200,7 @@ namespace
if (2 == argc)
{
ptr = new std::shared_ptr<const ContentsEntry>(std::make_shared<ContentsSymEntry>(
- FSEntry(StringValuePtr(argv[0])), StringValuePtr(argv[1])));
+ FSPath(StringValuePtr(argv[0])), StringValuePtr(argv[1])));
}
else
{