aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/wildcard_expander.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/wildcard_expander.cc')
-rw-r--r--paludis/util/wildcard_expander.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/paludis/util/wildcard_expander.cc b/paludis/util/wildcard_expander.cc
index 9cbf13143..5ca3623bd 100644
--- a/paludis/util/wildcard_expander.cc
+++ b/paludis/util/wildcard_expander.cc
@@ -107,7 +107,7 @@ namespace
}
WildcardExpander::WildcardExpander(const std::string & pattern, const FSPath & root) :
- Pimp<WildcardExpander>()
+ _imp()
{
// GLOB_NOCHECK seems to be buggy in glibc 2.5: fails
// TEST_CHECK_EQUAL(expand("/foo\\*"), "/foo*");
@@ -124,13 +124,13 @@ WildcardExpander::WildcardExpander(const std::string & pattern, const FSPath & r
}
WildcardExpander::WildcardExpander() :
- Pimp<WildcardExpander>()
+ _imp()
{
_imp->it = _imp->files->end();
}
WildcardExpander::WildcardExpander(const WildcardExpander & other) :
- Pimp<WildcardExpander>(other._imp->files, other._imp->it)
+ _imp(other._imp->files, other._imp->it)
{
}
@@ -181,3 +181,5 @@ WildcardExpander::operator== (const WildcardExpander & other) const
return _imp->files == other._imp->files && _imp->it == other._imp->it;
}
+template class Pimp<WildcardExpander>;
+