X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FVectorParser.hh;h=fda789ef2842a52769a1732551bf66493430c60a;hb=4a99bad0289a65567e85cb51bd357a34562b2c04;hp=12c599b25a856079c1faff99540545e13ad25397;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Packets/VectorParser.hh b/senf/Packets/VectorParser.hh index 12c599b..fda789e 100644 --- a/senf/Packets/VectorParser.hh +++ b/senf/Packets/VectorParser.hh @@ -106,11 +106,11 @@ namespace senf { // If you need to pass an iterator it is much simpler and cleaner to use the // 'container' wrapper - template void push_back (Value value, size_type n=1) const; - void push_back_space (size_type n=1) const; - template void push_front (Value value, size_type n=1) const; - void push_front_space (size_type n=1) const; - void resize (size_type n) const; + template void push_back (Value const & value, size_type n=1) const; + value_type push_back_space (size_type n=1) const; + template void push_front (Value const & value, size_type n=1) const; + value_type push_front_space (size_type n=1) const; + void resize (size_type n) const; template void resize (size_type n, Value value) const; private: @@ -202,11 +202,11 @@ namespace senf { void erase(iterator f, iterator l); void clear(); - template void push_back (Value value, size_type n=1); - void push_back_space (size_type n=1); - template void push_front (Value value, size_type n=1); - void push_front_space (size_type n=1); - void resize (size_type n); + template void push_back (Value const & value, size_type n=1); + value_type push_back_space (size_type n=1); + template void push_front (Value const & value, size_type n=1); + value_type push_front_space (size_type n=1); + void resize (size_type n); template void resize (size_type n, Value value); ///@}