mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-27 12:11:15 -03:00
[clang-tidy] Replace NULL with nullptr
Found with modernize-use-nullptr Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
8d54e928cd
commit
1055ff321c
@@ -103,6 +103,6 @@ int wcsfilecmp(const wchar_t *a, const wchar_t *b) {
|
||||
/// Return microseconds since the epoch.
|
||||
long long get_time() {
|
||||
struct timeval time_struct;
|
||||
gettimeofday(&time_struct, 0);
|
||||
gettimeofday(&time_struct, nullptr);
|
||||
return 1000000ll * time_struct.tv_sec + time_struct.tv_usec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user