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:
This just establishes an order so that the STL containers are happy.
The order is not semantically interpreted.
*/
class DataComparator { public:
DataComparator (const Request&rRequest):maKey(rRequest.maKey){}
DataComparator (const CacheKey aKey):maKey(aKey){}
bool operator() (const Request& rRequest) { return maKey == rRequest.maKey; }
private: const CacheKey maKey;
class DataComparator
{
public:
DataComparator (const CacheKey aKey)
: maKey(aKey)
{
}
bool operator() (const Request& rRequest) const
{
return maKey == rRequest.maKey;
}
private:
const 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