diff options
author | 2011-01-22 23:23:34 +0000 | |
---|---|---|
committer | 2011-01-22 23:23:34 +0000 | |
commit | c05f56916407d1730903472718fed9576bd214c9 (patch) | |
tree | 4ee1d0cc171813a37e889e15acedaeca3d3aa50e /paludis/repositories/e/e_mask.cc | |
parent | d145928e6b0283eb9816d34332d4d062b21598b3 (diff) | |
download | paludis-c05f56916407d1730903472718fed9576bd214c9.tar.gz paludis-c05f56916407d1730903472718fed9576bd214c9.tar.xz |
Don't store keys, IDs in masks
Diffstat (limited to 'paludis/repositories/e/e_mask.cc')
-rw-r--r-- | paludis/repositories/e/e_mask.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/paludis/repositories/e/e_mask.cc b/paludis/repositories/e/e_mask.cc index a2f987811..e2aba5b5d 100644 --- a/paludis/repositories/e/e_mask.cc +++ b/paludis/repositories/e/e_mask.cc @@ -30,18 +30,18 @@ namespace paludis { const char key; const std::string description; - const std::shared_ptr<const MetadataKey> unaccepted_key; + const std::string unaccepted_key_name; - Imp(const char k, const std::string & d, const std::shared_ptr<const MetadataKey> & u) : + Imp(const char k, const std::string & d, const std::string & u) : key(k), description(d), - unaccepted_key(u) + unaccepted_key_name(u) { } }; } -EUnacceptedMask::EUnacceptedMask(const char k, const std::string & d, const std::shared_ptr<const MetadataKey> & u) : +EUnacceptedMask::EUnacceptedMask(const char k, const std::string & d, const std::string & u) : _imp(k, d, u) { } @@ -62,10 +62,10 @@ EUnacceptedMask::description() const return _imp->description; } -const std::shared_ptr<const MetadataKey> -EUnacceptedMask::unaccepted_key() const +const std::string +EUnacceptedMask::unaccepted_key_name() const { - return _imp->unaccepted_key; + return _imp->unaccepted_key_name; } namespace paludis @@ -122,18 +122,18 @@ namespace paludis { const char key; const std::string description; - const std::shared_ptr<const MetadataKey> mask_key; + const std::string mask_key_name; - Imp(const char k, const std::string & d, const std::shared_ptr<const MetadataKey> & m) : + Imp(const char k, const std::string & d, const std::string & m) : key(k), description(d), - mask_key(m) + mask_key_name(m) { } }; } -ERepositoryMask::ERepositoryMask(const char k, const std::string & d, const std::shared_ptr<const MetadataKey> & m) : +ERepositoryMask::ERepositoryMask(const char k, const std::string & d, const std::string & m) : _imp(k, d, m) { } @@ -154,9 +154,9 @@ ERepositoryMask::description() const return _imp->description; } -const std::shared_ptr<const MetadataKey> -ERepositoryMask::mask_key() const +const std::string +ERepositoryMask::mask_key_name() const { - return _imp->mask_key; + return _imp->mask_key_name; } |