mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
Remove mini() and maxi()
C++11 provides std::min/std::max which we're using all over, obviating the need for our own templates for this. util.h now only provides two things: get_time and wcsfilecmp. This commit removes everything that includes it which doesn't use either; most because they no longer need mini or maxi from it but some others were #including it unnecessarily.
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
|
||||
#include "common.h" // IWYU pragma: keep
|
||||
#include "fallback.h" // IWYU pragma: keep
|
||||
#include "util.h" // IWYU pragma: keep
|
||||
|
||||
#if defined(TPARM_SOLARIS_KLUDGE)
|
||||
#undef tparm
|
||||
|
||||
Reference in New Issue
Block a user