aboutsummaryrefslogtreecommitdiff
path: root/paludis/stringify_formatter.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-24 13:28:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-24 15:47:41 +0100
commit49750cc61904ba17060521bd345c6ae526fb1bf8 (patch)
tree8aa8c06a7d6ec58c62dd0741011e8357a19c8b8d /paludis/stringify_formatter.cc
parent75f48bbb1ae368febe984c10c2db2d0b5cbd7cec (diff)
downloadpaludis-49750cc61904ba17060521bd345c6ae526fb1bf8.tar.gz
paludis-49750cc61904ba17060521bd345c6ae526fb1bf8.tar.xz
FSEntry -> FSPath, FSStat
Fixes: ticket:967
Diffstat (limited to 'paludis/stringify_formatter.cc')
-rw-r--r--paludis/stringify_formatter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/stringify_formatter.cc b/paludis/stringify_formatter.cc
index 279eef760..ab6061f36 100644
--- a/paludis/stringify_formatter.cc
+++ b/paludis/stringify_formatter.cc
@@ -42,7 +42,7 @@ StringifyFormatter::StringifyFormatter() :
static_cast<const CanFormat<PlainTextDepSpec> *>(0),
static_cast<const CanFormat<ConditionalDepSpec> *>(0),
static_cast<const CanFormat<NamedSetDepSpec> *>(0),
- static_cast<const CanFormat<FSEntry> *>(0),
+ static_cast<const CanFormat<FSPath> *>(0),
static_cast<const CanFormat<PackageID> *>(0),
static_cast<const CanFormat<PlainTextLabelDepSpec> *>(0),
static_cast<const CanSpace *>(0)
@@ -327,10 +327,10 @@ StringifyFormatter::decorate(const ConditionalDepSpec & s, const std::string & t
}
std::string
-StringifyFormatter::format(const FSEntry & s, const format::Plain & k) const
+StringifyFormatter::format(const FSPath & s, const format::Plain & k) const
{
- if (_imp->f_fsentry)
- return _imp->f_fsentry->format(s, k);
+ if (_imp->f_fspath)
+ return _imp->f_fspath->format(s, k);
return stringify(s);
}