From 24530c4e3c78e3f63f1531c83ac40227bbc310d7 Mon Sep 17 00:00:00 2001 From: mat007 Date: Tue, 21 May 2013 06:28:30 +0000 Subject: [PATCH] Fixed regression git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@664 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/expectation_template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turtle/detail/expectation_template.hpp b/turtle/detail/expectation_template.hpp index 8084ffb..78a079f 100644 --- a/turtle/detail/expectation_template.hpp +++ b/turtle/detail/expectation_template.hpp @@ -98,12 +98,12 @@ namespace detail } expectation& at_least( std::size_t min ) { - i_ = boost::make_shared< detail::exactly >( min ); + i_ = boost::make_shared< detail::at_least >( min ); return *this; } expectation& at_most( std::size_t max ) { - i_ = boost::make_shared< detail::exactly >( max ); + i_ = boost::make_shared< detail::at_most >( max ); return *this; } expectation& between( std::size_t min, std::size_t max )