Kaydet (Commit) bd6dfbae authored tarafından Caolán McNamara's avatar Caolán McNamara

remove unused ctor variant

Change-Id: I0c9afcb5819fc83f75ee8c639de56b788c3d516d
üst abe9d146
...@@ -49,11 +49,19 @@ public: ...@@ -49,11 +49,19 @@ public:
This just establishes an order so that the STL containers are happy. This just establishes an order so that the STL containers are happy.
The order is not semantically interpreted. The order is not semantically interpreted.
*/ */
class DataComparator { public: class DataComparator
DataComparator (const Request&rRequest):maKey(rRequest.maKey){} {
DataComparator (const CacheKey aKey):maKey(aKey){} public:
bool operator() (const Request& rRequest) { return maKey == rRequest.maKey; } DataComparator (const CacheKey aKey)
private: const CacheKey maKey; : maKey(aKey)
{
}
bool operator() (const Request& rRequest) const
{
return maKey == rRequest.maKey;
}
private:
const CacheKey maKey;
}; };
CacheKey maKey; CacheKey maKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment