summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/LibraryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/LibraryI.cpp')
-rw-r--r--cpp/demo/Freeze/library/LibraryI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/demo/Freeze/library/LibraryI.cpp b/cpp/demo/Freeze/library/LibraryI.cpp
index 33ae467efa8..6271b1b73f5 100644
--- a/cpp/demo/Freeze/library/LibraryI.cpp
+++ b/cpp/demo/Freeze/library/LibraryI.cpp
@@ -214,6 +214,10 @@ LibraryI::findByAuthors(const string& authors, const Ice::Current&)
{
IceUtil::RWRecMutex::RLock sync(*this);
+ //
+ // Lookup all books that match the given authors, and return them
+ // to the caller.
+ //
StringIsbnSeqDict::const_iterator p = _authors.find(authors);
BookPrxSeq books;