In file included from /usr/include/c++/10/vector:60,
from swap.h:1,
from swap.cpp:1:
/usr/include/c++/10/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
swap.cpp:25:94: required from here
/usr/include/c++/10/bits/stl_algobase.h:303:17: error: '__comp' cannot be used as a function
303 | if (__comp(__a, __b))
| ~~~~~~^~~~~~~~~~
swap.cpp: In function 'int getMinimumFuelCapacity(int, int)':
swap.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
26 | }
| ^