aboutsummaryrefslogtreecommitdiff
path: root/python/iterable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'python/iterable.hh')
-rw-r--r--python/iterable.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/iterable.hh b/python/iterable.hh
index cbec40c..2663559 100644
--- a/python/iterable.hh
+++ b/python/iterable.hh
@@ -25,6 +25,7 @@
#include <paludis/util/sequence.hh>
#include <paludis/util/set.hh>
+#include <paludis/util/fs_path.hh>
#include <type_traits>
namespace paludis
@@ -37,6 +38,12 @@ namespace paludis
static const bool value = std::is_convertible<From_, To_>::value;
};
+ template <>
+ struct IsConvertible<std::string, FSPath>
+ {
+ static const bool value = true;
+ };
+
template <typename From_, typename Tag_>
struct IsConvertible<From_, WrappedValue<Tag_> >
{