From d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 12 Mar 2005 15:15:56 +0000 Subject: [PATCH] Changed first argument of copy_vector() to 'const', to avoid mistakes. --- vmime/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();