diff options
| author | Rye <rye@alchemyviewer.org> | 2025-11-28 13:49:27 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-11-30 19:22:22 +0200 |
| commit | afb1f4d692bb593b3f200d490dd3f8fdeab8d279 (patch) | |
| tree | 3910d355ec29253ed18761fafdb16e0a99e4e4e7 /indra/llcorehttp/_refcounted.h | |
| parent | b3a1b099aa5ce7c02ccdb0fa5bc3d55ced989e5e (diff) | |
Replace boost noncopyable and undefined function usage with modern c++ deleted operator and constructor
Diffstat (limited to 'indra/llcorehttp/_refcounted.h')
| -rw-r--r-- | indra/llcorehttp/_refcounted.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcorehttp/_refcounted.h b/indra/llcorehttp/_refcounted.h index 7470965a7f..de2e3fe85c 100644 --- a/indra/llcorehttp/_refcounted.h +++ b/indra/llcorehttp/_refcounted.h @@ -44,8 +44,9 @@ namespace LLCoreInt class RefCounted { private: - RefCounted(); // Not defined - may not be default constructed - void operator=(const RefCounted &); // Not defined + RefCounted() = delete; // may not be default constructed + RefCounted(const RefCounted&) = delete; + RefCounted& operator=(const RefCounted&) = delete; public: explicit RefCounted(bool const implicit) |
