diff --git a/iterators_test.cpp b/iterators_test.cpp index befbba5..b316e79 100644 --- a/iterators_test.cpp +++ b/iterators_test.cpp @@ -100,7 +100,8 @@ public: private: // Test data - static iter_type const fruit_begin, fruit_end; + static iter_type const fruit_begin; + static iter_type const fruit_end; // Test parts static void post_increment_test(); @@ -123,12 +124,12 @@ test_opr_base::scratch_array_type test_opr_base::scratch = ""; template -typename test_opr::iter_type const - test_opr::fruit_begin( fruit ); + typename test_opr::iter_type const + test_opr::fruit_begin = test_iter( fruit ); template typename test_opr::iter_type const - test_opr::fruit_end( fruit + fruit_length ); + test_opr::fruit_end = test_iter( fruit + fruit_length ); // Main testing function