Make rigclass.h more C++ agnostic

pull/750/head
Mike Black W9MDB 2021-07-15 16:15:27 -05:00
rodzic cb892602b4
commit a88bd7238b
1 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -37,11 +37,14 @@ public:
explicit Rig(rig_model_t rig_model);
virtual ~Rig();
#if __cplusplus >= 201103L
Rig(const Rig&) = delete;
Rig& operator=(const Rig&) = delete;
#else
Rig(const Rig&);
Rig& operator=(const Rig&);
#endif
Rig(const Rig&) = default;
Rig(Rig&&) = default;
Rig& operator=(const Rig&) = default;
Rig& operator=(Rig&&) = default;
const struct rig_caps *caps;