diff options
-rw-r--r-- | src/lib/CDROutputElementList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/CDROutputElementList.cpp b/src/lib/CDROutputElementList.cpp index 001f9dc..c970bd6 100644 --- a/src/lib/CDROutputElementList.cpp +++ b/src/lib/CDROutputElementList.cpp @@ -351,7 +351,7 @@ CDROutputElementList::~CDROutputElementList() void CDROutputElementList::draw(librevenge::RVNGDrawingInterface *painter) const { - for (auto element : m_elements) + for (const auto &element : m_elements) element->draw(painter); } |