From e17cd54c0d892ba06ee91f33c698f6e72386e99a Mon Sep 17 00:00:00 2001 From: zxin <ninthozward1@outlook.com> Date: 星期一, 19 五月 2025 17:09:52 +0800 Subject: [PATCH] 修改了错误示例 --- Test/mainwindow.cpp | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/Test/mainwindow.cpp b/Test/mainwindow.cpp index 2364edf..e76cea5 100644 --- a/Test/mainwindow.cpp +++ b/Test/mainwindow.cpp @@ -54,11 +54,8 @@ // 没有 delete[] pt /**********其他错误**********/ - // 1.未使用的变量 + //未使用的变量 int unused = 0; - - // 2.未包含必要的头文件 - //#include<> } MainWindow::~MainWindow() { delete ui; } -- Gitblit v1.9.1