Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akete committed Feb 27, 2020
1 parent 0daa88f commit 467ba09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/include/Poco/Dynamic/Var.h
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ inline const std::type_info& Var::type() const

inline Var::ConstIterator Var::begin() const
{
if (isEmpty()) return ConstIterator(const_cast<Var*>(this), true);
if (size() == 0) return ConstIterator(const_cast<Var*>(this), true);

return ConstIterator(const_cast<Var*>(this), false);
}
Expand All @@ -749,7 +749,7 @@ inline Var::ConstIterator Var::end() const

inline Var::Iterator Var::begin()
{
if (isEmpty()) return Iterator(const_cast<Var*>(this), true);
if (size() == 0) return Iterator(const_cast<Var*>(this), true);

return Iterator(const_cast<Var*>(this), false);
}
Expand Down

0 comments on commit 467ba09

Please sign in to comment.