summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-27 11:11:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-27 11:11:29 -0400
commitcf2f482ceca796e587dfe2fb8df552c09156fb50 (patch)
treecbc68913c5fdbae638f56dd157842b8597032edd /indra
parent1c78829ab3177940adbdb7f0081b5f46c1e37763 (diff)
Slightly streamline owning_ptr class definition.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/llcommon/owning_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/owning_ptr.h b/indra/llcommon/owning_ptr.h
index c0da245265..7cf8d3f0ba 100755
--- a/indra/llcommon/owning_ptr.h
+++ b/indra/llcommon/owning_ptr.h
@@ -65,7 +65,7 @@ public:
T* operator->() const { return mPtr.operator->(); }
private:
- std::unique_ptr<T, std::function<void(T*)>> mPtr;
+ std::unique_ptr<T, deleter> mPtr;
};
#endif /* ! defined(LL_OWNING_PTR_H) */