Skip to content
Snippets Groups Projects
Commit 046b8f5b authored by Jan Trávníček's avatar Jan Trávníček
Browse files

make parameters of modifying functions nonconst

parent 244179cd
No related branches found
No related tags found
No related merge requests found
......@@ -297,8 +297,8 @@ bool any ( const ext::vector < bool, Ts ... > & v ) {
}
 
template < class ... Ts >
void fill ( const ext::vector < bool, Ts ... > & v ) {
typename ext::vector < bool, Ts ... >::const_iterator itV = v.begin ( );
void fill ( ext::vector < bool, Ts ... > & v ) {
typename ext::vector < bool, Ts ... >::iterator itV = v.begin ( );
 
// c++ implementation-specific
while ( itV < v.end ( ) )
......@@ -306,8 +306,8 @@ void fill ( const ext::vector < bool, Ts ... > & v ) {
}
 
template < class ... Ts >
void clear ( const ext::vector < bool, Ts ... > & v ) {
typename ext::vector < bool, Ts ... >::const_iterator itV = v.begin ( );
void clear ( ext::vector < bool, Ts ... > & v ) {
typename ext::vector < bool, Ts ... >::iterator itV = v.begin ( );
 
// c++ implementation-specific
while ( itV < v.end ( ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment