Merge branch 'dalathegreat:main' into tesla-feature-bmsreset

This commit is contained in:
greenoem 2025-04-08 08:57:53 +01:00 committed by GitHub
commit a3b7edf6f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -10,7 +10,7 @@ ci:
repos: repos:
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.4 rev: v20.1.0
hooks: hooks:
- id: clang-format - id: clang-format
args: [-Werror] # change formatting warnings to errors, hook includes -i (Inplace edit) by default args: [-Werror] # change formatting warnings to errors, hook includes -i (Inplace edit) by default

View file

@ -112,7 +112,7 @@ inline void printFailed(const char* message, FILE* file = stdout) {
class AssertFailedException : public std::exception { class AssertFailedException : public std::exception {
public: public:
AssertFailedException(std::string description, std::string filepath, int line) AssertFailedException(std::string description, std::string filepath, int line)
: std::exception(), description_(description), filepath_(filepath), line_(line){}; : std::exception(), description_(description), filepath_(filepath), line_(line) {};
virtual const char* what() const throw() { return description_.c_str(); } virtual const char* what() const throw() { return description_.c_str(); }