summaryrefslogtreecommitdiff
path: root/indra/llcommon/llinitdestroyclass.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-09-01 19:52:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-09-01 19:52:45 -0400
commita1741be7f6e4d67be55d6a5bc628c38390f9d4b4 (patch)
tree5c02bd701c5e55cfcf9fbe8af34cb2ae4b2c9995 /indra/llcommon/llinitdestroyclass.cpp
parent9be4e7e448769cb82dc7d82e93bee4f1cd2b3e6c (diff)
parent3a2383dc0dc33ccbcddd63e3c0083cedb39f0dcd (diff)
Automated merge with file:///Users/nat/linden/viewer-comment-lllog
Diffstat (limited to 'indra/llcommon/llinitdestroyclass.cpp')
-rw-r--r--indra/llcommon/llinitdestroyclass.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/indra/llcommon/llinitdestroyclass.cpp b/indra/llcommon/llinitdestroyclass.cpp
new file mode 100644
index 0000000000..e6382a7924
--- /dev/null
+++ b/indra/llcommon/llinitdestroyclass.cpp
@@ -0,0 +1,30 @@
+/**
+ * @file llinitdestroyclass.cpp
+ * @author Nat Goodspeed
+ * @date 2016-08-30
+ * @brief Implementation for llinitdestroyclass.
+ *
+ * $LicenseInfo:firstyear=2016&license=viewerlgpl$
+ * Copyright (c) 2016, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+// Precompiled header
+#include "linden_common.h"
+// associated header
+#include "llinitdestroyclass.h"
+// STL headers
+// std headers
+// external library headers
+// other Linden headers
+#include "llerror.h"
+
+void LLCallbackRegistry::fireCallbacks() const
+{
+ for (FuncList::const_iterator fi = mCallbacks.begin(), fe = mCallbacks.end();
+ fi != fe; ++fi)
+ {
+ LL_INFOS("LLInitDestroyClass") << "calling " << fi->first << "()" << LL_ENDL;
+ fi->second();
+ }
+}