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 <michele.calgaro@yahoo.it>
pull/311/head
Michele Calgaro 1 month ago
parent e22af1c0a0
commit f63f3a0b01
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -28,11 +28,7 @@ struct crypt_device;
// Keep readDiskDeviceSubtypeFromString() in tdehardwaredevices.cpp in sync with this enum // Keep readDiskDeviceSubtypeFromString() in tdehardwaredevices.cpp in sync with this enum
namespace TDEDiskDeviceType { namespace TDEDiskDeviceType {
#if __cplusplus >= 201103L
enum TDEDiskDeviceType : unsigned long long { enum TDEDiskDeviceType : unsigned long long {
#else
enum TDEDiskDeviceType {
#endif
Null = 0x0000000000000000ULL, Null = 0x0000000000000000ULL,
MediaDevice = 0x0000000000000001ULL, MediaDevice = 0x0000000000000001ULL,
Floppy = 0x0000000000000002ULL, Floppy = 0x0000000000000002ULL,

Loading…
Cancel
Save