|
@@ -12,8 +12,14 @@
|
|
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
// PERFORMANCE OF THIS SOFTWARE.
|
|
// PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
|
|
|
+#include <boost/shared_ptr.hpp>
|
|
|
|
+
|
|
#include "logcheck.h"
|
|
#include "logcheck.h"
|
|
|
|
|
|
|
|
+using namespace isc::acl;
|
|
|
|
+using namespace isc::acl::tests;
|
|
|
|
+using boost::shared_ptr;
|
|
|
|
+
|
|
namespace {
|
|
namespace {
|
|
|
|
|
|
// Test version of the Acl class. It adds few methods to examine the protected
|
|
// Test version of the Acl class. It adds few methods to examine the protected
|
|
@@ -39,7 +45,7 @@ public:
|
|
TestACL acl_;
|
|
TestACL acl_;
|
|
Log log_;
|
|
Log log_;
|
|
size_t next_check_;
|
|
size_t next_check_;
|
|
- shared_ptr<Check<Log> > getCheck(bool accepts) {
|
|
|
|
|
|
+ boost::shared_ptr<Check<Log> > getCheck(bool accepts) {
|
|
return (shared_ptr<Check<Log> >(new ConstCheck(accepts,
|
|
return (shared_ptr<Check<Log> >(new ConstCheck(accepts,
|
|
next_check_++)));
|
|
next_check_++)));
|
|
}
|
|
}
|