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>
(cherry picked from commit f63f3a0b01)
pull/312/head
Michele Calgaro 2 months ago
parent 3d8df21c1d
commit ab167e155c
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