diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-12 22:04:58 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-13 22:45:47 +0000 |
commit | 6d0c495fd042a313e0a8d6a9d36209b92b9bf42b (patch) | |
tree | 6863db5822ec6940c0dfc3064c6b2a3aa54185da /Lib/octave | |
parent | 8c207dd3a9eae0435f219b4e70f02a503cd66b49 (diff) | |
download | swig-6d0c495fd042a313e0a8d6a9d36209b92b9bf42b.tar.gz |
Add missing parameter names in STL container wrappers
Mostly in STL copy constructors.
Best to have parameter names as they make their way into the wrappers in
some target languages.
Diffstat (limited to 'Lib/octave')
-rw-r--r-- | Lib/octave/std_deque.i | 2 | ||||
-rw-r--r-- | Lib/octave/std_list.i | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/octave/std_deque.i b/Lib/octave/std_deque.i index 6866a610f..c40cfee12 100644 --- a/Lib/octave/std_deque.i +++ b/Lib/octave/std_deque.i @@ -12,7 +12,7 @@ template <class T> struct traits_from<std::deque<T> > { - static octave_value from(const std::deque<T> & vec) { + static octave_value from(const std::deque<T>& vec) { return traits_from_stdseq<std::deque<T> >::from(vec); } }; diff --git a/Lib/octave/std_list.i b/Lib/octave/std_list.i index 1421efaee..35f6c1321 100644 --- a/Lib/octave/std_list.i +++ b/Lib/octave/std_list.i @@ -12,7 +12,7 @@ template <class T> struct traits_from<std::list<T> > { - static octave_value *from(const std::list<T> & vec) { + static octave_value *from(const std::list<T>& vec) { return traits_from_stdseq<std::list<T> >::from(vec); } }; |