Skip to content

Commit

Permalink
fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGrulich committed Aug 17, 2024
1 parent 011895b commit b6f3573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nautilus/include/nautilus/common/traceing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace nautilus::tracing {

extern std::string getFunctionName(void* fnptr);
std::string getFunctionName(void* fnptr);

enum Op : uint8_t {
JMP,
Expand Down
2 changes: 1 addition & 1 deletion nautilus/src/nautilus/tracing/TracingUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace nautilus::tracing {
* @param fnptr
* @return
*/
extern std::string getFunctionName(void* fnptr) {
std::string getFunctionName(void* fnptr) {
Dl_info info;
dladdr(fnptr, &info);
if (info.dli_sname != nullptr) {
Expand Down

0 comments on commit b6f3573

Please sign in to comment.