diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-20 12:51:10 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-20 12:51:10 +0100 |
commit | 86f911a8a068059db9a30b36738172339d011860 (patch) | |
tree | 0b6cd62b7f68e486c558a99a535f7b7595139c7e /src/core/model/Document.cpp | |
parent | 4bef3b094733b38bf75f2a1837d353f5c09bec00 (diff) |
added a const where it was possible.
Diffstat (limited to 'src/core/model/Document.cpp')
-rw-r--r-- | src/core/model/Document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/Document.cpp b/src/core/model/Document.cpp index ec58141..7552bd3 100644 --- a/src/core/model/Document.cpp +++ b/src/core/model/Document.cpp @@ -550,7 +550,7 @@ void Document::addAnnotation(Handle<AnnotationEntity> a) } } -void Document::addAnnotations(std::vector<Handle<AnnotationEntity>> as) +void Document::addAnnotations(const std::vector<Handle<AnnotationEntity>> &as) { for (Handle<AnnotationEntity> a : as) { addAnnotation(a); |