diff options
Diffstat (limited to 'cpp/demo/Freeze/library/LibraryI.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/LibraryI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Freeze/library/LibraryI.cpp b/cpp/demo/Freeze/library/LibraryI.cpp index 4e96479e7d7..aff271110e8 100644 --- a/cpp/demo/Freeze/library/LibraryI.cpp +++ b/cpp/demo/Freeze/library/LibraryI.cpp @@ -215,7 +215,7 @@ LibraryI::createBook(const ::BookDescription& description, const Ice::Current&) } isbnSeq.push_back(description.isbn); - _authors.insert(StringIsbnSeqDict::value_type(description.authors, isbnSeq)); + _authors.put(StringIsbnSeqDict::value_type(description.authors, isbnSeq)); return book; } @@ -322,7 +322,7 @@ LibraryI::remove(const BookDescription& description) // // Otherwise, write back the new record. // - _authors.insert(StringIsbnSeqDict::value_type(description.authors, isbnSeq)); + _authors.put(StringIsbnSeqDict::value_type(description.authors, isbnSeq)); } // |