diff options
Diffstat (limited to 'project2/common/commonObjects.h')
-rw-r--r-- | project2/common/commonObjects.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/common/commonObjects.h b/project2/common/commonObjects.h index 474e7e4..7ea914d 100644 --- a/project2/common/commonObjects.h +++ b/project2/common/commonObjects.h @@ -7,7 +7,7 @@ #include "options.h" #include <visibility.h> -class DLL_PUBLIC CommonObjects : public virtual IntrusivePtrBase { +class DLL_PUBLIC CommonObjects { public: typedef STORAGEOF(RowSet) RowSets; typedef STORAGEOF(DataSource) DataSources; @@ -27,7 +27,7 @@ class DLL_PUBLIC CommonObjects : public virtual IntrusivePtrBase { if (i == datasources.end()) { i = loadDataSource(name); } - DataSourceType * s = boost::dynamic_pointer_cast<DataSourceType>(i->second).get(); + DataSourceType * s = std::dynamic_pointer_cast<DataSourceType>(i->second).get(); if (!s) { throw DataSourceNotCompatible(name); } |