[Positioning] Building & CSVFileReader: minor edits
Building: fix a comment. CSVFileReader: delete useless "boost::" prefix (we have using namespace boost).
This commit is contained in:
parent
9b245ce152
commit
3490b94df7
|
@ -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
|
* 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
|
* deleted and nullified, unless it is the same pointer (see the code to
|
||||||
* understand!); hmm, maybe we should handle that with exceptions…
|
* understand!); hmm, maybe we should handle that with exceptions…
|
||||||
|
|
|
@ -101,9 +101,9 @@ bool CSVFileReader::read_point3d(Point3D &p)
|
||||||
|
|
||||||
try
|
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() ;
|
print_error_cast() ;
|
||||||
return false ;
|
return false ;
|
||||||
|
|
Loading…
Reference in New Issue