diff options
Diffstat (limited to 'TAO/utils/logWalker/PeerObject.cpp')
-rw-r--r-- | TAO/utils/logWalker/PeerObject.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/utils/logWalker/PeerObject.cpp b/TAO/utils/logWalker/PeerObject.cpp index 3cf504bcb5e..00ec6e7f9c9 100644 --- a/TAO/utils/logWalker/PeerObject.cpp +++ b/TAO/utils/logWalker/PeerObject.cpp @@ -41,7 +41,10 @@ PeerObject::num_invocations (void) void PeerObject::dump_detail (ostream &strm) { - strm << this->ident_ << " has " - << this->invocations_.size() << " invocations" << endl; + size_t s = this->invocations_.size(); + strm << " " << this->name_ << " has " + << s << " invocation" + << (s > 1 ? "s" : "") + << endl; } |