diff --git a/static_assert_test_fail_8.cpp b/static_assert_test_fail_8.cpp index e4f5b47..41f3698 100644 --- a/static_assert_test_fail_8.cpp +++ b/static_assert_test_fail_8.cpp @@ -12,12 +12,12 @@ #include #include -template -RandonAccessIterator foo(RandonAccessIterator from, RandonAccessIterator) +template +RandomAccessIterator foo(RandomAccessIterator from, RandomAccessIterator) { // this template can only be used with // random access iterators... - typedef typename std::iterator_traits< RandonAccessIterator >::iterator_category cat; + typedef typename std::iterator_traits< RandomAccessIterator >::iterator_category cat; BOOST_STATIC_ASSERT((boost::is_convertible::value)); // // detail goes here...