diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-03 19:02:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-03 19:02:42 +0000 |
commit | 14453bf723c025034823e4d4005a98ee176753a0 (patch) | |
tree | fd5d6569c6ee0ecf66a738c6a3f0219c50e0984a /lib/Analysis/BasicStore.cpp | |
parent | 3e9061f77bab715e3e2bc01a655d5a4e791bd985 (diff) |
Don't use std::auto_ptr with getSubRegionMap().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index 35c6652fe5..2e619baf2f 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -47,8 +47,8 @@ public: ~BasicStoreManager() {} - std::auto_ptr<SubRegionMap> getSubRegionMap(const GRState *state) { - return std::auto_ptr<SubRegionMap>(new BasicStoreSubRegionMap()); + SubRegionMap* getSubRegionMap(const GRState *state) { + return new BasicStoreSubRegionMap(); } SVal Retrieve(const GRState *state, Loc loc, QualType T = QualType()); |