Diff of /code/player/trunk/server/drivers/localization/ekfvloc/scan.cc [r9132] .. [r9133] Maximize Restore

  Switch to side-by-side view

--- a/code/player/trunk/server/drivers/localization/ekfvloc/scan.cc
+++ b/code/player/trunk/server/drivers/localization/ekfvloc/scan.cc
@@ -21,7 +21,7 @@
 
 
 #include <cassert>
-
+#include <stdexcept>
 #include "scan.hh"
 
 Scan::Scan(
@@ -88,7 +88,7 @@
                         const DoublesVector& bearings) {
 
 	if (ranges.size() != bearings.size())
-		throw range_error("Mismatching ranges in SetLastScan");
+		throw std::range_error("Mismatching ranges in SetLastScan");
 
 	ulocs_.clear();
 	rho_.clear();