Commit 483294e3 authored by eric's avatar eric

fix the comment

parent 61b7959b
......@@ -75,7 +75,7 @@ template <typename T> struct ResourcePoolFreeChunkMaxItem {
// ResourcePool calls this function on newly constructed objects. If this
// function returns false, the object is destructed immediately and
// get_object() shall return NULL. This is useful when the constructor
// get_resource() shall return NULL. This is useful when the constructor
// failed internally(namely ENOMEM).
template <typename T> struct ResourcePoolValidator {
static bool validate(const T*) { return true; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment