[gparted] Correct inclusion of Operation* headers in GParted_Core.cc
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Correct inclusion of Operation* headers in GParted_Core.cc
- Date: Mon, 2 Nov 2015 19:21:23 +0000 (UTC)
commit 52183058ef34dfa82dc1054190e64e72fd9ef076
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Fri Oct 9 15:28:00 2015 +0100
Correct inclusion of Operation* headers in GParted_Core.cc
The GParted_Core code only interacts with derived Operation* objects
through the Operation base class interface and in one case the
OperationCopy class. Therefore include Operation.h and OperationCopy.h
headers and no others.
src/GParted_Core.cc | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index eee3194..7191384 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -20,14 +20,8 @@
#include "../include/DMRaid.h"
#include "../include/FS_Info.h"
#include "../include/LVM2_PV_Info.h"
+#include "../include/Operation.h"
#include "../include/OperationCopy.h"
-#include "../include/OperationCreate.h"
-#include "../include/OperationDelete.h"
-#include "../include/OperationFormat.h"
-#include "../include/OperationResizeMove.h"
-#include "../include/OperationChangeUUID.h"
-#include "../include/OperationLabelFileSystem.h"
-#include "../include/OperationNamePartition.h"
#include "../include/Proc_Partitions_Info.h"
#include "../include/SWRaid_Info.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]