aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_key.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-06 18:14:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-07 11:32:57 +0000
commitba48807953a1232e3ef23b06007ae9ec275e2285 (patch)
tree118aaec3cea682cd2acf4345465527686ffbff11 /paludis/repositories/e/e_key.cc
parent00dc02da2e66a9cc73202cc7e512aa212feba77c (diff)
downloadpaludis-ba48807953a1232e3ef23b06007ae9ec275e2285.tar.gz
paludis-ba48807953a1232e3ef23b06007ae9ec275e2285.tar.xz
ID isn't needed
Diffstat (limited to 'paludis/repositories/e/e_key.cc')
-rw-r--r--paludis/repositories/e/e_key.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/paludis/repositories/e/e_key.cc b/paludis/repositories/e/e_key.cc
index b31ab2c9c..0dab6c5f4 100644
--- a/paludis/repositories/e/e_key.cc
+++ b/paludis/repositories/e/e_key.cc
@@ -914,7 +914,6 @@ namespace paludis
template <>
struct Imp<EMTimeKey>
{
- const std::shared_ptr<const ERepositoryID> id;
const FSPath filename;
mutable Mutex value_mutex;
mutable std::shared_ptr<Timestamp> value;
@@ -923,9 +922,8 @@ namespace paludis
const std::string human_name;
const MetadataKeyType type;
- Imp(const std::shared_ptr<const ERepositoryID> & i, const FSPath & v,
+ Imp(const FSPath & v,
const std::string & r, const std::string & h, const MetadataKeyType t) :
- id(i),
filename(v),
raw_name(r),
human_name(h),
@@ -935,9 +933,8 @@ namespace paludis
};
}
-EMTimeKey::EMTimeKey(const std::shared_ptr<const ERepositoryID> & id,
- const std::string & r, const std::string & h, const FSPath & v, const MetadataKeyType t) :
- Pimp<EMTimeKey>(id, v, r, h, t)
+EMTimeKey::EMTimeKey(const std::string & r, const std::string & h, const FSPath & v, const MetadataKeyType t) :
+ Pimp<EMTimeKey>(v, r, h, t)
{
}
@@ -962,8 +959,7 @@ EMTimeKey::value() const
catch (const FSError & e)
{
Log::get_instance()->message("e.contents.mtime_failure", ll_warning, lc_context) << "Couldn't get mtime for '"
- << _imp->filename << "' for ID '" << *_imp->id << "' due to exception '" << e.message()
- << "' (" << e.what() << ")";
+ << _imp->filename << "' due to exception '" << e.message() << "' (" << e.what() << ")";
}
return *_imp->value;