X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FVectorParser.hh;fp=senf%2FPackets%2FVectorParser.hh;h=ef3fe36038d4d7a44f451fb96738ed799d8006cf;hb=8170f9bdf8fae3d9f16b20e04bdea7770280ccf0;hp=12c599b25a856079c1faff99540545e13ad25397;hpb=7a4cbe7e4ce56a7d256adc282c0a7b54a9c12c6f;p=senf.git diff --git a/senf/Packets/VectorParser.hh b/senf/Packets/VectorParser.hh index 12c599b..ef3fe36 100644 --- a/senf/Packets/VectorParser.hh +++ b/senf/Packets/VectorParser.hh @@ -106,9 +106,9 @@ 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; + template void push_back (Value const & 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; + template void push_front (Value const & value, size_type n=1) const; void push_front_space (size_type n=1) const; void resize (size_type n) const; template void resize (size_type n, Value value) const; @@ -202,9 +202,9 @@ namespace senf { void erase(iterator f, iterator l); void clear(); - template void push_back (Value value, size_type n=1); + template void push_back (Value const & value, size_type n=1); void push_back_space (size_type n=1); - template void push_front (Value value, size_type n=1); + template void push_front (Value const & value, size_type n=1); void push_front_space (size_type n=1); void resize (size_type n); template void resize (size_type n, Value value);