diff options
author | randomdan <randomdan@localhost> | 2013-09-15 12:43:27 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-09-15 12:43:27 +0000 |
commit | e7df165427627291e011fef130f23b67f271d3cc (patch) | |
tree | 34182eca80cc6a92a7a4a4c9d19836f0da2e0981 /project2/sql/rdbmsDataSource.cpp | |
parent | Add a module for preloading libraries, which supersedes that in daemon (diff) | |
download | project2-e7df165427627291e011fef130f23b67f271d3cc.tar.bz2 project2-e7df165427627291e011fef130f23b67f271d3cc.tar.xz project2-e7df165427627291e011fef130f23b67f271d3cc.zip |
Allow instance registration to occur with different key types
Diffstat (limited to 'project2/sql/rdbmsDataSource.cpp')
-rw-r--r-- | project2/sql/rdbmsDataSource.cpp | 2 |
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))) { } |