Fixed warnings
Applied clang-modernizer