diff options
author | Vincent Richard <[email protected]> | 2005-03-12 15:15:56 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-03-12 15:15:56 +0000 |
commit | d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b (patch) | |
tree | 47aa259768f575c10130ad61306c67bccc3362b0 | |
parent | Added '-Wconversion' for GCC. (diff) | |
download | vmime-d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b.tar.gz vmime-d18af1341846fd5aca2b0ba7ef192e82ad8d5b8b.zip |
Changed first argument of copy_vector() to 'const', to avoid mistakes.
-rw-r--r-- | vmime/base.hpp | 2 |
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(); |