diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-02-22 15:23:44 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-02-22 15:23:44 +0100 |
commit | 0541a6156076ecc0c5568d29022a3dd128b65c5e (patch) | |
tree | de8abd38de13e3531327294c639ec2df0f7ba5ac | |
parent | aa63cee848cd464430cfe5b46fc958cbefdb097d (diff) |
if asked for emtpy, don't use size
-rw-r--r-- | src/lib/VSDXOutputElementList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXOutputElementList.h b/src/lib/VSDXOutputElementList.h index a45b0a3..f364f9a 100644 --- a/src/lib/VSDXOutputElementList.h +++ b/src/lib/VSDXOutputElementList.h @@ -63,7 +63,7 @@ public: void addEndTextObject(); bool empty() const { - return !m_elements.size(); + return m_elements.empty(); } private: std::vector<VSDXOutputElement *> m_elements; |