Skip to content

Commit 43e72a0

Browse files
committed
fix: build issue
1 parent 13ce06b commit 43e72a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void GoLanguageModule::GetNativeMethod(std::string_view methodName, MemAddr* add
184184
_provider->Log(std::format(LOG_PREFIX "GetNativeMethod failed to find: '{}'", methodName), Severity::Fatal);
185185
}
186186

187-
const Method* GoLanguageModule::FindMethod(std::string_view name) {
187+
std::shared_ptr<Method> GoLanguageModule::FindMethod(std::string_view name) {
188188
if (auto separated = Split(name, "."); separated.size() == 2) {
189189
if (auto plugin = _provider->FindExtension(separated[0])) {
190190
for (const auto& method : plugin->GetMethods()) {

0 commit comments

Comments
 (0)