diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 11:55:21 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 11:55:21 +0100 |
| commit | bba54c37348455489cf144525616d93504ecd679 (patch) | |
| tree | 5ca0f44888d19691b2bd2577eacbedc38f8d69f4 /src/components/Margin.cpp | |
| parent | 144a3ddfb55fbf17cec4baaa73542664d68a3b05 (diff) | |
Improve code
Diffstat (limited to 'src/components/Margin.cpp')
| -rw-r--r-- | src/components/Margin.cpp | 4 |
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); } } |
