removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.

This commit is contained in:
okoenig 2003-02-27 19:18:07 +00:00
commit 89a99dab17
3 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,8 @@ typedef eoBit<double> Indi;
#include "binary_value.h"
using namespace std;
void main_function(int argc, char **argv)
{

View file

@ -1,3 +1,4 @@
.SUFFIXES: .cpp
.cpp: ; c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../../src -Wall -g -o $@ $*.cpp ../../../src/utils/libeoutils.a ../../../src/libeo.a
.cpp.o: ; c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../../src -Wall -g -c $*.cpp

View file

@ -7,7 +7,7 @@
@param _chrom A binary chromosome
*/
// INIT
double binary_value(const vector<bool>& _chrom)
double binary_value(const std::vector<bool>& _chrom)
{
double sum = 0;
for (unsigned i = 0; i < _chrom.size(); i++)