aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-02 17:38:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-02 17:38:32 +0000
commite72cb70b3e369f9238ba7ee5a29a3fe0a863b690 (patch)
tree7d49b1bf8f1ba2fb6a0e4575202a65453de873b0
parent94c27e7984c9d992b038788b56c79496d105e133 (diff)
downloadpaludis-e72cb70b3e369f9238ba7ee5a29a3fe0a863b690.tar.gz
paludis-e72cb70b3e369f9238ba7ee5a29a3fe0a863b690.tar.xz
*hate*
-rw-r--r--paludis/util/system.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/paludis/util/system.cc b/paludis/util/system.cc
index de92eb5..81920f0 100644
--- a/paludis/util/system.cc
+++ b/paludis/util/system.cc
@@ -130,6 +130,11 @@ namespace
throw InternalError(PALUDIS_HERE, "uname call failed");
return u.release;
}
+
+ std::map<std::string, std::string> make_me_a_frickin_map_because_gcc_sucks()
+ {
+ return std::map<std::string, std::string>();
+ }
}
std::string
@@ -159,7 +164,7 @@ namespace paludis
std::ostream * captured_stderr_stream;
Implementation(const std::string & c,
- const std::map<std::string, std::string> & s = std::map<std::string, std::string>(),
+ const std::map<std::string, std::string> & s = make_me_a_frickin_map_because_gcc_sucks(),
const std::string & d = "", bool e = false,
std::tr1::shared_ptr<uid_t> u = std::tr1::shared_ptr<uid_t>(),
std::tr1::shared_ptr<gid_t> g = std::tr1::shared_ptr<gid_t>(),