aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-24 14:14:22 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-24 14:14:22 +0000
commit98b8136f9e9374dac4cf860c0a1e504c6ec7ff3e (patch)
tree45f8b6eaf24858fc5702726f5e5c09a0766ed405 /paludis/repositories/fake
parent88e66f89fd170cfe378ec8801ced9e99422663a5 (diff)
downloadpaludis-98b8136f9e9374dac4cf860c0a1e504c6ec7ff3e.tar.gz
paludis-98b8136f9e9374dac4cf860c0a1e504c6ec7ff3e.tar.xz
New improved tokeniser
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index adef75c0e..ede593c0d 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -98,7 +98,7 @@ void
FakeMetadataKeywordSetKey::set_from_string(const std::string & s)
{
_imp->collection.reset(new KeywordNameSet);
- WhitespaceTokeniser::tokenise(s, create_inserter<KeywordName>(_imp->collection->inserter()));
+ tokenise_whitespace(s, create_inserter<KeywordName>(_imp->collection->inserter()));
}
FakeMetadataIUseSetKey::FakeMetadataIUseSetKey(const std::string & r,
@@ -114,7 +114,7 @@ FakeMetadataIUseSetKey::set_from_string(const std::string & s, const IUseFlagPar
{
_imp->collection.reset(new IUseFlagSet);
std::list<std::string> tokens;
- WhitespaceTokeniser::tokenise(s, std::back_inserter(tokens));
+ tokenise_whitespace(s, std::back_inserter(tokens));
for (std::list<std::string>::const_iterator t(tokens.begin()), t_end(tokens.end()) ;
t != t_end ; ++t)
_imp->collection->insert(IUseFlag(*t, m, std::string::npos));