Skip to content

Commit cc3fd50

Browse files
committed
const string
1 parent f2f1b0b commit cc3fd50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/godot_fmod.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ Dictionary Fmod::desc_user_property_by_index(const String& eventPath, int index)
10421042
return propDesc;
10431043
}
10441044

1045-
void Fmod::set_desc_callback(String eventPath, int callbackMask) {
1045+
void Fmod::set_desc_callback(const String& eventPath, int callbackMask) {
10461046
FIND_AND_CHECK(eventPath, eventDescriptions)
10471047
ERROR_CHECK(instance->setCallback(Callbacks::eventCallback, callbackMask));
10481048
GODOT_LOG(0, String("Default callBack set on description event ") + eventPath)

0 commit comments

Comments
 (0)