From ab167e155c0e69fb588cbb0d015755d3b13b246d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Oct 2024 13:13:05 +0900 Subject: [PATCH] Fix syntax error when using tqmoc on tdestoragedevice.h TDE now requires c++11, so the conditional code is no longer required. Signed-off-by: Michele Calgaro (cherry picked from commit f63f3a0b0192532e555ea1115afdb3fb821a8972) --- tdecore/tdehw/tdestoragedevice.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tdecore/tdehw/tdestoragedevice.h b/tdecore/tdehw/tdestoragedevice.h index bcbcbacbc..9ccfe2a64 100644 --- a/tdecore/tdehw/tdestoragedevice.h +++ b/tdecore/tdehw/tdestoragedevice.h @@ -28,11 +28,7 @@ struct crypt_device; // Keep readDiskDeviceSubtypeFromString() in tdehardwaredevices.cpp in sync with this enum namespace TDEDiskDeviceType { -#if __cplusplus >= 201103L enum TDEDiskDeviceType : unsigned long long { -#else -enum TDEDiskDeviceType { -#endif Null = 0x0000000000000000ULL, MediaDevice = 0x0000000000000001ULL, Floppy = 0x0000000000000002ULL,