Skip to content

Commit

Permalink
Fixes duplicated symbols caused by missing inline statement
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-guyot-infomaniak committed Nov 26, 2024
1 parent 0033126 commit b9eb383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcommon/utility/utility_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ inline bool isLikeFileNotFoundError(const std::error_code &ec) noexcept {
#endif

#if defined(__APPLE__) || defined(__unix__)
bool isLikeFileNotFoundError(const std::error_code &ec) noexcept {
inline bool isLikeFileNotFoundError(const std::error_code &ec) noexcept {
return ec.value() != static_cast<int>(std::errc::no_such_file_or_directory);
}
#endif
Expand Down

0 comments on commit b9eb383

Please sign in to comment.