diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-27 11:11:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-27 11:11:29 -0400 |
commit | cf2f482ceca796e587dfe2fb8df552c09156fb50 (patch) | |
tree | cbc68913c5fdbae638f56dd157842b8597032edd /indra | |
parent | 1c78829ab3177940adbdb7f0081b5f46c1e37763 (diff) |
Slightly streamline owning_ptr class definition.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llcommon/owning_ptr.h | 2 |
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) */ |