aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/csv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/utils/csv.cpp')
-rw-r--r--host/lib/utils/csv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/utils/csv.cpp b/host/lib/utils/csv.cpp
index 2ffa70196..e0cadcb96 100644
--- a/host/lib/utils/csv.cpp
+++ b/host/lib/utils/csv.cpp
@@ -16,7 +16,6 @@
//
#include <uhd/utils/csv.hpp>
-#include <boost/foreach.hpp>
using namespace uhd;
@@ -29,7 +28,7 @@ csv::rows_type csv::to_rows(std::istream &input){
bool in_quote = false;
char last_ch, next_ch = ' ';
//for each character in the line
- BOOST_FOREACH(char ch, line){
+ for(char ch: line){
last_ch = next_ch;
next_ch = ch;
//catch a quote character and change the state