// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include "chaps/object_pool_mock.h" | |
#include "chaps/object.h" | |
namespace chaps { | |
ObjectPoolMock::ObjectPoolMock() {} | |
ObjectPoolMock::~ObjectPoolMock() { | |
for (size_t i = 0; i < v_.size(); ++i) { | |
delete v_[i]; | |
} | |
} | |
} |