summaryrefslogtreecommitdiff
path: root/project2/sql/rdbmsDataSource.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-09-15 12:43:27 +0000
committerrandomdan <randomdan@localhost>2013-09-15 12:43:27 +0000
commitd022256a4136234d742e3178d31948b5f88bc0f6 (patch)
tree34182eca80cc6a92a7a4a4c9d19836f0da2e0981 /project2/sql/rdbmsDataSource.cpp
parentAdd a module for preloading libraries, which supersedes that in daemon (diff)
downloadproject2-d022256a4136234d742e3178d31948b5f88bc0f6.tar.bz2
project2-d022256a4136234d742e3178d31948b5f88bc0f6.tar.xz
project2-d022256a4136234d742e3178d31948b5f88bc0f6.zip
Allow instance registration to occur with different key types
Diffstat (limited to 'project2/sql/rdbmsDataSource.cpp')
-rw-r--r--project2/sql/rdbmsDataSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/sql/rdbmsDataSource.cpp b/project2/sql/rdbmsDataSource.cpp
index de20844..bf69dcd 100644
--- a/project2/sql/rdbmsDataSource.cpp
+++ b/project2/sql/rdbmsDataSource.cpp
@@ -195,7 +195,7 @@ RdbmsDataSource::RdbmsConnection::isExpired() const
RdbmsDataSource::ConnectionInfo::ConnectionInfo(ScriptNodePtr node) :
dsn(node->value("dsn", NULL).as<std::string>()),
- typeId(Plugable::getLoader<ConnectionLoader, UnknownConnectionProvider>(node->value("provider", NULL)))
+ typeId(InstanceMap<ConnectionLoader, std::string>::Get<UnknownConnectionProvider>(node->value("provider", NULL)))
{
}