summaryrefslogtreecommitdiff
path: root/indra/llcommon/llinitdestroyclass.cpp
blob: 50e6e24b8d3ae89e9796fd402d2b53eaa6760325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * @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::value_type pair : mCallbacks)
    {
        LL_INFOS("LLInitDestroyClass") << "calling " << pair.first << "()" << LL_ENDL;
        pair.second();
    }
}