fix: blocks break and once the program exits it no longer errors out, past commits were trying to fix bug

This commit is contained in:
DarthMooMancer
2025-10-02 20:53:11 -04:00
parent 29cf913478
commit 2b4e8fb7f6
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 3.16)
project(breakout)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
project(breakout)
include_directories(include)
set(SOURCES
-1
View File
@@ -1 +0,0 @@
[100%] Built target breakout
-3
View File
@@ -33,8 +33,5 @@ int main() {
delete block_buffer[i];
}
delete[] block_buffer;
for(int i = 0; i < 50; i++) {
delete buffer[i];
}
return 0;
}