summaryrefslogtreecommitdiff
path: root/project2/common/commonObjects.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/commonObjects.h')
-rw-r--r--project2/common/commonObjects.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/project2/common/commonObjects.h b/project2/common/commonObjects.h
index 788e3bd..7ea914d 100644
--- a/project2/common/commonObjects.h
+++ b/project2/common/commonObjects.h
@@ -5,8 +5,9 @@
#include "rowSet.h"
#include "scriptStorage.h"
#include "options.h"
+#include <visibility.h>
-class CommonObjects : public virtual IntrusivePtrBase {
+class DLL_PUBLIC CommonObjects {
public:
typedef STORAGEOF(RowSet) RowSets;
typedef STORAGEOF(DataSource) DataSources;
@@ -26,7 +27,7 @@ class 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);
}