Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: vector.cpp
- Revision:
- 135:2f4290590e51
- Parent:
- 132:05cd37f7e007
diff -r 395678c651d8 -r 2f4290590e51 vector.cpp --- a/vector.cpp Tue Sep 01 19:34:34 2015 +0000 +++ b/vector.cpp Thu Sep 10 20:11:35 2015 +0000 @@ -51,20 +51,6 @@ if ( debug_vector ) vz_debug ( "Removed" ); } -int Vector::find_element ( Object * e ) -{ - if( e != NULL ) - { - for( int i = 0; i < this->elements; i++ ) - if( this->objects[ i ] == e ) return ( i ); - return ( -3 ); - } - else - { - return ( -1 ); - } -} - int Vector::size ( void ) { return this -> elements; } int Vector::print_yourself ( void )