mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Merge branch 'dalathegreat:main' into tesla-feature-bmsreset
This commit is contained in:
commit
a3b7edf6f6
5 changed files with 8 additions and 8 deletions
|
@ -10,7 +10,7 @@ ci:
|
|||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v17.0.4
|
||||
rev: v20.1.0
|
||||
hooks:
|
||||
- id: clang-format
|
||||
args: [-Werror] # change formatting warnings to errors, hook includes -i (Inplace edit) by default
|
||||
|
|
|
@ -112,7 +112,7 @@ inline void printFailed(const char* message, FILE* file = stdout) {
|
|||
class AssertFailedException : public std::exception {
|
||||
public:
|
||||
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(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue