Skip to content

Commit

Permalink
Format all code with clang-format version 13 to see if that succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
kavika13 committed Mar 18, 2024
1 parent 01862b6 commit ba9913e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Graphics/atlasnodetree.cpp
Expand Up @@ -217,5 +217,5 @@ AtlasNodeTree::AtlasNodeTree(ivec2 dim, unsigned smallest_size) {
}

AtlasNodeTree::~AtlasNodeTree() {
delete[] (data);
delete[](data);
}
2 changes: 1 addition & 1 deletion Source/Internal/buildver.cpp
Expand Up @@ -64,7 +64,7 @@

// macro mess so we can turn APPID and APPREV into a string literal...
#define MAKEBUILDVERSTRINGLITERAL2(id, rev) \
#id ", Revision " #rev ", Built " __DATE__ " " __TIME__ ", by " COMPILER " version " __VERSION__
#id ", Revision " #rev ", Built " __DATE__ " " __TIME__ ", by " COMPILER " version " __VERSION__

#define MAKEBUILDVERSTRINGLITERAL(id, rev) MAKEBUILDVERSTRINGLITERAL2(id, rev)

Expand Down
2 changes: 1 addition & 1 deletion Source/Scripting/angelscript/asmodule.cpp
Expand Up @@ -614,7 +614,7 @@ void VarStorage::destroy() {
delete (float*)var;
break;
case _vs_enum:
delete[] (char*)var;
delete[](char*) var;
break;
case _vs_app_obj: {
AppObject* ao = (AppObject*)var;
Expand Down

0 comments on commit ba9913e

Please sign in to comment.