Skip to content

Commit

Permalink
[?] Replace use of __FUNCTION__ with __func__.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Oct 13, 2024
1 parent 55c03b0 commit 8e4d944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/irods_default_paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace irods
fs::path
get_irods_lib_directory() {
Dl_info dl_info;
const int dladdr_ret = dladdr(__FUNCTION__, &dl_info);
const int dladdr_ret = dladdr(__func__, &dl_info);
if (dladdr_ret == 0) {
THROW(-1, "dladdr returned 0");
}
Expand Down

0 comments on commit 8e4d944

Please sign in to comment.