When writing C++ code within the CLion IDE one of the Clang-Tidy messages that comes up is this function can be made static
. Is there any benefit (mainly performance?) for making this function static, if it won't be used outside the class and thus, removes one of the main uses of static functions.
Danke