summaryrefslogtreecommitdiff
path: root/client/connpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/connpool.h')
-rw-r--r--client/connpool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/connpool.h b/client/connpool.h
index a37dad7..8733abb 100644
--- a/client/connpool.h
+++ b/client/connpool.h
@@ -89,7 +89,7 @@ namespace mongo {
virtual ~DBConnectionHook() {}
virtual void onCreate( DBClientBase * conn ) {}
virtual void onHandedOut( DBClientBase * conn ) {}
- virtual void onDestory( DBClientBase * conn ) {}
+ virtual void onDestroy( DBClientBase * conn ) {}
};
/** Database connection pool.
@@ -119,7 +119,7 @@ namespace mongo {
void onCreate( DBClientBase * conn );
void onHandedOut( DBClientBase * conn );
- void onDestory( DBClientBase * conn );
+ void onDestroy( DBClientBase * conn );
void flush();