Kaydet (Commit) 6f928deb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid loplugin:unreffun in non-debug build

Change-Id: I1fbf5a355340e20de881a030bc75ebbfce960d4f
üst 394b054a
......@@ -254,7 +254,9 @@ public:
const SwFEShell *pFESh = nullptr,
SwAccessibleObjShape_Impl **pSelShape = nullptr ) const;
#if OSL_DEBUG_LEVEL > 0
iterator begin() { return maMap.begin(); }
#endif
iterator end() { return maMap.end(); }
const_iterator cbegin() const { return maMap.cbegin(); }
const_iterator cend() const { return maMap.cend(); }
......@@ -599,7 +601,9 @@ public:
private:
std::map <key_type,mapped_type,key_compare> maMap;
public:
#if OSL_DEBUG_LEVEL > 0
iterator begin() { return maMap.begin(); }
#endif
iterator end() { return maMap.end(); }
iterator find(const key_type& key) { return maMap.find(key); }
std::pair<iterator,bool> insert(const value_type& value ) { return maMap.insert(value); }
......
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