Re: [devel] [PATCH 1 of 1] clm: Use the empty() method to check if a set is empty [#1773]

2016-04-21 Thread Mathivanan Naickan Palanivelu
Ack, Mathi. > -Original Message- > From: Anders Widell [mailto:anders.wid...@ericsson.com] > Sent: Thursday, April 21, 2016 2:17 PM > To: Mathivanan Naickan Palanivelu > Cc: opensaf-devel@lists.sourceforge.net > Subject: [PATCH 1 of 1] clm: Use the empty() method to check if a set is > emp

[devel] [PATCH 1 of 1] clm: Use the empty() method to check if a set is empty [#1773]

2016-04-21 Thread Anders Widell
osaf/services/saf/clmsv/nodeagent/election_starter.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) The empty() method should be used to check if a set is empty, instead of comparing the result of the size() method with zero. Depending on the STL implementation, the std::set::size(