Skip to content

Commit 96b4912

Browse files
committed
- Inheritence Fix for IThread
1 parent a29901c commit 96b4912

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ESPressio_IThread.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ namespace ESPressio {
2727
`IThread` is a common Interface for all Thread Types provided by this library.
2828
You can use it to reference any Thread Type without knowing the actual type.
2929
*/
30-
class IThread : public Object<IThread> {
30+
class IThread {
3131
public:
3232
// Destructor
3333

34-
/// The Destructor is declared as `virtual` to ensure that the correct destructor is called when a derived class is destroyed.
35-
virtual ~IThread() {
36-
DoNotifyDestroy();
37-
}
34+
/// The Destructor is declared as `virtual` to ensure that the correct destructor is called when a derived class is destroyed.
35+
virtual ~IThread() {
36+
DoNotifyDestroy();
37+
}
3838
// Methods
3939

4040
/// `Initialize` is invoked automatically for all Threads when the `ThreadManager` is initialized in your `main()` (or `setup()` for MCU projects) function.

0 commit comments

Comments
 (0)