aboutsummaryrefslogtreecommitdiff
path: root/src/clients/instruo/instruo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/instruo/instruo.cc')
-rw-r--r--src/clients/instruo/instruo.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clients/instruo/instruo.cc b/src/clients/instruo/instruo.cc
index 7b4d1623b..387a40892 100644
--- a/src/clients/instruo/instruo.cc
+++ b/src/clients/instruo/instruo.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -32,7 +32,7 @@
#include <paludis/util/log.hh>
#include <paludis/util/sequence.hh>
#include <paludis/util/map.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/set.hh>
#include <paludis/util/make_named_values.hh>
#include <paludis/util/mutex.hh>
@@ -218,14 +218,14 @@ namespace
continue;
}
- if (! simple_visitor_cast<const MetadataValueKey<std::string> >(**eapi_i))
+ if (! visitor_cast<const MetadataValueKey<std::string> >(**eapi_i))
{
Lock lock(mutex);
results.insert(std::make_pair(id, "EAPI metadata key is not a string key"));
continue;
}
- if (simple_visitor_cast<const MetadataValueKey<std::string> >(**eapi_i)->value() == "UNKNOWN")
+ if (visitor_cast<const MetadataValueKey<std::string> >(**eapi_i)->value() == "UNKNOWN")
{
Lock lock(mutex);
results.insert(std::make_pair(id, "EAPI is 'UNKNOWN'"));