kopia lustrzana https://github.com/Hamlib/Hamlib
Fix c++ rig class
rodzic
f147484b1d
commit
4e4c93ff73
c++
include/hamlib
|
@ -8,7 +8,7 @@
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Rig myRig = Rig(RIG_MODEL_DUMMY);
|
||||
Rig myRig {RIG_MODEL_DUMMY};
|
||||
|
||||
try {
|
||||
myRig.setConf("rig_pathname", "/dev/ttyS1");
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
virtual ~Rig();
|
||||
#if __cplusplus >= 201103L
|
||||
Rig(const Rig&) = default;
|
||||
Rig(const Rig&) = delete;
|
||||
Rig& operator=(const Rig&) = delete;
|
||||
#else
|
||||
Rig(const Rig&);
|
||||
|
|
Ładowanie…
Reference in New Issue