aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-12 15:15:56 +0000
committerVincent Richard <[email protected]>2005-03-12 15:15:56 +0000
commitd18af1341846fd5aca2b0ba7ef192e82ad8d5b8b (patch)
tree47aa259768f575c10130ad61306c67bccc3362b0
parentAdded '-Wconversion' for GCC. (diff)
downloadvmime-d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b.tar.gz
vmime-d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b.zip
Changed first argument of copy_vector() to 'const', to avoid mistakes.
-rw-r--r--vmime/base.hpp2
1 files changed, 1 insertions, 1 deletions
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 <class T1, class T2>
- void copy_vector(T1& v1, T2& v2)
+ void copy_vector(const T1& v1, T2& v2)
{
const typename T1::size_type count = v1.size();