[Positioning] Building & CSVFileReader: minor edits

Building: fix a comment.
CSVFileReader: delete useless "boost::" prefix (we have using namespace
boost).
This commit is contained in:
Matteo Cypriani 2011-07-24 13:53:47 +02:00
parent 9b245ce152
commit 3490b94df7
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ Building::~Building()
/**
* @param area A pointer to the Area to add. If \em a is NULL, nothing
* @param area A pointer to the Area to add. If it is NULL, nothing
* will be added. If the Area it points to already exist in #areas, it is
* deleted and nullified, unless it is the same pointer (see the code to
* understand!); hmm, maybe we should handle that with exceptions

View File

@ -101,9 +101,9 @@ bool CSVFileReader::read_point3d(Point3D &p)
try
{
coord[i] = boost::lexical_cast<float>(*token_iterator) ;
coord[i] = lexical_cast<float>(*token_iterator) ;
}
catch (boost::bad_lexical_cast &e)
catch (bad_lexical_cast &e)
{
print_error_cast() ;
return false ;