osmandapp/OsmAnd-core — pull request #20 by naoliv (2013-05-23 20:56:40+00:00)
Title: Check for emptiness instead size > 0

From cppcheck:

Checking for 'st' emptiness might be inefficient. Using st.empty() instead of st.size() can be faster. st.size() can take linear time but st.empty() is guaranteed to take constant time.