Use call by value to pass parameters for callback
parent
ab5afa556f
commit
d97705fd3e
|
|
@ -33,7 +33,7 @@ FSRegistrarUtils::FSRegistrarUtils() :
|
|||
{
|
||||
}
|
||||
|
||||
bool FSRegistrarUtils::checkIsEnabled(const LLUUID& av_id, EFSRegistrarFunctionActionType action)
|
||||
bool FSRegistrarUtils::checkIsEnabled(LLUUID av_id, EFSRegistrarFunctionActionType action)
|
||||
{
|
||||
if (mEnableCheckFunction)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public:
|
|||
mEnableCheckFunction = func;
|
||||
}
|
||||
|
||||
bool checkIsEnabled(const LLUUID& av_id, EFSRegistrarFunctionActionType action);
|
||||
bool checkIsEnabled(LLUUID av_id, EFSRegistrarFunctionActionType action);
|
||||
|
||||
private:
|
||||
enable_check_function_t mEnableCheckFunction;
|
||||
|
|
|
|||
Loading…
Reference in New Issue