summaryrefslogtreecommitdiff
path: root/src/piraha/smart_ptr.cc
diff options
context:
space:
mode:
authorsbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-03-04 23:50:30 +0000
committersbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-03-04 23:50:30 +0000
commit638398785d624541bb8bd0c0f70b9eb3f8820e9b (patch)
treed9675b8fee659b4fc2c49ce33f405658af6b8176 /src/piraha/smart_ptr.cc
parent421cadbef8c00ccd47f72c95d25f8553a4aae786 (diff)
Significant upgrade of Piraha:
It no longer uses strings to store intermediate values in expressions. It now supports everything that was supported by the old expression parser. Comments added. Numerous pieces of error checking added. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4974 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/piraha/smart_ptr.cc')
-rw-r--r--src/piraha/smart_ptr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piraha/smart_ptr.cc b/src/piraha/smart_ptr.cc
index e1d26b71..b2e5a826 100644
--- a/src/piraha/smart_ptr.cc
+++ b/src/piraha/smart_ptr.cc
@@ -1,3 +1,3 @@
#include "smart_ptr.hpp"
-std::vector<void*> ptrs;
+std::set<void*> *ptrs = new std::set<void*>();