aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/fs_path.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-09 10:23:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-09 10:23:12 +0000
commit7a2c9e974666881f44406c88189ae546a67ff0b7 (patch)
treef6846da02bf779a262f58e5042f3fa1bbf7415d3 /paludis/util/fs_path.hh
parent7f7c79fcc67df4fae498ca943e36592d3f7a3ad2 (diff)
downloadpaludis-7a2c9e974666881f44406c88189ae546a67ff0b7.tar.gz
paludis-7a2c9e974666881f44406c88189ae546a67ff0b7.tar.xz
Rework Pimp to avoid ImpPtr ickiness
Fixes: ticket:1070
Diffstat (limited to 'paludis/util/fs_path.hh')
-rw-r--r--paludis/util/fs_path.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/paludis/util/fs_path.hh b/paludis/util/fs_path.hh
index 6147c14a2..f18fa610f 100644
--- a/paludis/util/fs_path.hh
+++ b/paludis/util/fs_path.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh
* Copyright (c) 2006 Mark Loeser
* Copyright (c) 2008 Fernando J. Pereda
*
@@ -30,13 +30,14 @@
namespace paludis
{
- class PALUDIS_VISIBLE FSPath :
- private Pimp<FSPath>
+ class PALUDIS_VISIBLE FSPath
{
friend std::ostream & paludis::operator<< (std::ostream & s, const FSPath & f);
friend bool operator== (const FSPath &, const FSPath &);
private:
+ Pimp<FSPath> _imp;
+
void _normalise();
public: