From 3490b94df7168a524de5cfd0aaa6a7f9a44c5048 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Sun, 24 Jul 2011 13:53:47 +0200 Subject: [PATCH] [Positioning] Building & CSVFileReader: minor edits Building: fix a comment. CSVFileReader: delete useless "boost::" prefix (we have using namespace boost). --- owlps-positioning/src/building.cc | 2 +- owlps-positioning/src/csvfilereader.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/owlps-positioning/src/building.cc b/owlps-positioning/src/building.cc index da68289..d2b8ec9 100644 --- a/owlps-positioning/src/building.cc +++ b/owlps-positioning/src/building.cc @@ -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… diff --git a/owlps-positioning/src/csvfilereader.cc b/owlps-positioning/src/csvfilereader.cc index 17fced7..faad541 100644 --- a/owlps-positioning/src/csvfilereader.cc +++ b/owlps-positioning/src/csvfilereader.cc @@ -101,9 +101,9 @@ bool CSVFileReader::read_point3d(Point3D &p) try { - coord[i] = boost::lexical_cast(*token_iterator) ; + coord[i] = lexical_cast(*token_iterator) ; } - catch (boost::bad_lexical_cast &e) + catch (bad_lexical_cast &e) { print_error_cast() ; return false ;