diff options
| author | Aetias <aetias@outlook.com> | 2024-10-12 16:16:32 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-10-12 16:16:32 +0200 |
| commit | 0b6c727e36a764c1eee496ab80b14a5da00f21c5 (patch) | |
| tree | 43b7762a25d65f69bb3b640a6c9c8a6869273f2b /libs/cpp/include | |
| parent | 74a29deff311fb7bc51028ae9bf4272d7835cb8c (diff) | |
Add `.clang-format`
Diffstat (limited to 'libs/cpp/include')
| -rw-r--r-- | libs/cpp/include/global_destructor_chain.h | 2 | ||||
| -rw-r--r-- | libs/cpp/include/vector | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libs/cpp/include/global_destructor_chain.h b/libs/cpp/include/global_destructor_chain.h index 5939216e..c5043126 100644 --- a/libs/cpp/include/global_destructor_chain.h +++ b/libs/cpp/include/global_destructor_chain.h @@ -7,4 +7,4 @@ typedef struct DestructorChain { /* c */ } DestructorChain; -void* __register_global_object(void *object, void *destructor, DestructorChain *link); +void *__register_global_object(void *object, void *destructor, DestructorChain *link); diff --git a/libs/cpp/include/vector b/libs/cpp/include/vector index e775aba0..7d78e50c 100644 --- a/libs/cpp/include/vector +++ b/libs/cpp/include/vector @@ -1,11 +1,10 @@ #pragma once namespace std { - template<class T> - class vector { + template <class T> class vector { public: T *elements; int size; int capacity; }; -} +} // namespace std |
