summaryrefslogtreecommitdiff
path: root/indra/llcommon/llevents.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-25 10:03:17 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-03-25 10:03:17 -0400
commitfd8c5fced1ee62e08c55adf92fb9c8d0e52d313a (patch)
tree6621d8e565119a131af1edc9397039f7af6be8b2 /indra/llcommon/llevents.h
parentfaff73494ee3247bcca9bb33b59629fd39adb3e7 (diff)
Remove colliding LLListener.
Diffstat (limited to 'indra/llcommon/llevents.h')
-rw-r--r--indra/llcommon/llevents.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/llcommon/llevents.h b/indra/llcommon/llevents.h
index ebc893d1e6..77a405871d 100644
--- a/indra/llcommon/llevents.h
+++ b/indra/llcommon/llevents.h
@@ -160,23 +160,6 @@ typedef boost::signals2::connection LLBoundListener;
/// referenced listener when the LLTempBoundListener instance is destroyed.
typedef boost::signals2::scoped_connection LLTempBoundListener;
-/// Accepting (const LLListener&) allows either LLEventListener or LLVoidListener
-/// TODO: but compiler considers the constructor call ambiguous??
-class LLListener
-{
-public:
- LLListener(const LLEventListener& listener):
- mListener(listener)
- {}
- LLListener(const LLVoidListener& listener):
- mListener([listener](const LLSD& data){ listener(data); return false; })
- {}
- operator LLEventListener() const { return mListener; }
-
-private:
- LLEventListener mListener;
-};
-
/**
* A common idiom for event-based code is to accept either a callable --
* directly called on completion -- or the string name of an LLEventPump on