aboutsummaryrefslogtreecommitdiff
path: root/src/components/Margin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Margin.cpp')
-rw-r--r--src/components/Margin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Margin.cpp b/src/components/Margin.cpp
index 077cce5..f438130 100644
--- a/src/components/Margin.cpp
+++ b/src/components/Margin.cpp
@@ -21,8 +21,8 @@ void Margin::DrawMargin(Element e) {
elements.push_back(e);
}
-void Margin::DrawMargin(std::vector<Element> elts) {
- for(Element &e:elts){
+void Margin::DrawMargin(const std::vector<Element> &elts) {
+ for(Element e:elts){
DrawMargin(e);
}
}