diff options
author | Brad Linden <brad@lindenlab.com> | 2024-04-09 14:17:34 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-04-09 14:17:34 -0700 |
commit | 5a47a3cb2366b9da9a595d37c88703497e111005 (patch) | |
tree | 1e255fecfda9bf1582d8d76a48e950a561a811a1 /indra/llcommon/classic_callback.h | |
parent | 03c75201605067b0e97aba0333f8ea6d45d10804 (diff) | |
parent | da9a1dcb55548a249ff7a1255f3e518696b81245 (diff) |
Merge remote-tracking branch 'origin/main' into release/materials_featurette
Diffstat (limited to 'indra/llcommon/classic_callback.h')
-rw-r--r-- | indra/llcommon/classic_callback.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/classic_callback.h b/indra/llcommon/classic_callback.h index 1ad6dbc58f..009c25d67c 100644 --- a/indra/llcommon/classic_callback.h +++ b/indra/llcommon/classic_callback.h @@ -119,11 +119,11 @@ public: * ClassicCallback must not itself be copied or moved! Once you've passed * get_userdata() to some API, this object MUST remain at that address. */ - // However, we can't yet count on C++17 Class Template Argument Deduction, - // which means makeClassicCallback() is still useful, which means we MUST - // be able to return one to construct into caller's instance (move ctor). - // Possible defense: bool 'referenced' data member set by get_userdata(), - // with an llassert_always(! referenced) check in the move constructor. + // However, makeClassicCallback() is useful for deducing the CALLABLE + // type, which means we MUST be able to return one to construct into + // caller's instance (move ctor). Possible defense: bool 'referenced' data + // member set by get_userdata(), with an llassert_always(! referenced) + // check in the move constructor. ClassicCallback(ClassicCallback const&) = delete; ClassicCallback(ClassicCallback&&) = default; // delete; ClassicCallback& operator=(ClassicCallback const&) = delete; |