summaryrefslogtreecommitdiff
path: root/project2/common/columns.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/columns.h')
-rw-r--r--project2/common/columns.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/common/columns.h b/project2/common/columns.h
index 72fd40b..5845c72 100644
--- a/project2/common/columns.h
+++ b/project2/common/columns.h
@@ -7,13 +7,13 @@
#include <boost/multi_index/ordered_index.hpp>
#include <visibility.h>
-class DLL_PUBLIC Column : public IntrusivePtrBase {
+class DLL_PUBLIC Column {
public:
Column(unsigned int idx, ScriptNodePtr p);
Column(unsigned int i, const Glib::ustring & n, const Variable & v = Variable(Null()));
virtual ~Column() = default;
- static Column * make(unsigned int idx, ScriptNodePtr p);
+ static std::shared_ptr<Column> make(unsigned int idx, ScriptNodePtr p);
const unsigned int idx;
const Glib::ustring name;
@@ -23,7 +23,7 @@ class DLL_PUBLIC Column : public IntrusivePtrBase {
struct byColIdx {};
struct byColName {};
-typedef boost::intrusive_ptr<Column> ColumnPtr;
+typedef std::shared_ptr<Column> ColumnPtr;
typedef boost::multi_index::multi_index_container<ColumnPtr,
boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<