diff --git a/vmime/base.hpp b/vmime/base.hpp index fca049d7..68fae050 100644 --- a/vmime/base.hpp +++ b/vmime/base.hpp @@ -94,7 +94,7 @@ namespace vmime // Copy one vector to another, with type conversion template - void copy_vector(T1& v1, T2& v2) + void copy_vector(const T1& v1, T2& v2) { const typename T1::size_type count = v1.size();