Unverified Commit 0d5372f4 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #660 from eric-buaa-cn/master

fix the comment
parents 6c9c0802 483294e3
......@@ -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