We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5cf8da + ca46a2a commit aef12e0Copy full SHA for aef12e0
src/Serials.h
@@ -15,8 +15,8 @@ namespace Serials {
15
// just to satisfy linker in gcc I needed to add empty parentheses to other virtual methods...
16
class AbstractSerial {
17
public:
18
- virtual void begin(int baudRate) {};
19
- virtual Stream *getStream() {};
+ virtual void begin(int baudRate) = 0;
+ virtual Stream *getStream() = 0;
20
virtual ~AbstractSerial() {};
21
};
22
0 commit comments