Skip to content

Commit

Permalink
Add inline to mtime fallback function
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Feb 7, 2025
1 parent 1985547 commit fc30c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fcitx-utils/mtime_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ modifiedTimeImpl(const T &p, int /*unused*/) {
}
#endif

Timespec modifiedTimeImpl(const struct stat &p, unsigned long /*unused*/) {
inline Timespec modifiedTimeImpl(const struct stat &p, unsigned long /*unused*/) {
return {p.st_mtime, 0};
}

Expand Down

0 comments on commit fc30c31

Please sign in to comment.