Kaydet (Commit) 8db9acda authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loplugin:redundantcast

Change-Id: I1a111ba1be3083555b47af8cc272f93b367accae
üst 19988248
...@@ -104,7 +104,7 @@ private: ...@@ -104,7 +104,7 @@ private:
{ {
if (nPos < 0 || static_cast<size_t>(nPos) >= maEntries.size()) if (nPos < 0 || static_cast<size_t>(nPos) >= maEntries.size())
return nullptr; return nullptr;
return const_cast<ImplEntryType*>(maEntries[nPos].get()); return maEntries[nPos].get();
} }
public: public:
......
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