diff --git a/example/timer/regex_timer.cpp b/example/timer/regex_timer.cpp index f47c6ac9..c09a01f3 100644 --- a/example/timer/regex_timer.cpp +++ b/example/timer/regex_timer.cpp @@ -27,6 +27,7 @@ using std::ostream; using std::endl; using std::ifstream; using std::streambuf; +using std::getline; #endif #include @@ -38,8 +39,8 @@ using std::streambuf; #include #include -#ifdef BOOST_MSVC -// no Koenig lookup, use using declaration instead: +#if defined(_MSC_VER) && (_MSC_VER <= 1300) +// maybe no Koenig lookup, use using declaration instead: using namespace boost; #endif @@ -360,3 +361,4 @@ int main(int argc, char**argv) +