diff --git a/.clang-format b/.clang-format index aa0bf08667..977a49ee99 100644 --- a/.clang-format +++ b/.clang-format @@ -12,7 +12,7 @@ DisableFormat: true # Style for C++ Language: Cpp -Standard: c++17 +Standard: c++20 # base is WebKit coding style: https://webkit.org/code-style-guidelines/ # below are only things set that diverge from this style! diff --git a/src/utils/version.h b/src/utils/version.h index 5f0e78567f..c3df431b80 100644 --- a/src/utils/version.h +++ b/src/utils/version.h @@ -21,9 +21,7 @@ public: Version(uint32_t major, uint32_t minor, uint32_t patch = 0); Version() = default; - // clang-format off - auto operator<=> (const Version &other) const = default; - // clang-format on + auto operator<=>(const Version &other) const = default; bool isValid() const; uint32_t majorVersion() const; uint32_t minorVersion() const;