aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2008-01-02 23:55:59 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2008-01-02 23:55:59 +0000
commit39f440be92d7c560ba2d2766d67013a59d1e554e (patch)
tree1c24a15c7adbcc3413448ee6ab51d16c3c7532cb
parente8323e9a48917c6e8e853aa6d287102f51ec2dbf (diff)
downloadpaludis-39f440be92d7c560ba2d2766d67013a59d1e554e.tar.gz
paludis-39f440be92d7c560ba2d2766d67013a59d1e554e.tar.xz
one less constructor...
-rw-r--r--paludis/repositories/e/make_ebuild_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/make_ebuild_repository.cc b/paludis/repositories/e/make_ebuild_repository.cc
index 574a326..a6c3698 100644
--- a/paludis/repositories/e/make_ebuild_repository.cc
+++ b/paludis/repositories/e/make_ebuild_repository.cc
@@ -49,7 +49,7 @@ paludis::make_ebuild_repository(
if (m->end() == m->find("location") || ((location = m->find("location")->second)).empty())
throw ERepositoryConfigurationError("Key 'location' not specified or empty");
- tr1::shared_ptr<KeyValueConfigFile> layout_conf((FSEntry(FSEntry(location) / "metadata/layout.conf")).exists() ?
+ tr1::shared_ptr<KeyValueConfigFile> layout_conf((FSEntry(location) / "metadata/layout.conf").exists() ?
new KeyValueConfigFile(FSEntry(FSEntry(location) / "metadata/layout.conf"),
KeyValueConfigFileOptions())
: 0);