Skip to content

Commit b476ca6

Browse files
committed
fix compiler warning
1 parent 6841810 commit b476ca6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/MicroOcpp/Model/Transactions/TransactionService.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ TransactionService::Evse::Evse(Context& context, TransactionService& txService,
4747
transaction = txStore.loadTransaction(txNrLatest); //returns nullptr if txNrLatest does not exist on flash
4848
}
4949

50+
TransactionService::Evse::~Evse() {
51+
52+
}
53+
5054
bool TransactionService::Evse::beginTransaction() {
5155

5256
if (transaction) {

src/MicroOcpp/Model/Transactions/TransactionService.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class TransactionService : public MemoryManaged {
6666

6767
public:
6868
Evse(Context& context, TransactionService& txService, Ocpp201::TransactionStoreEvse& txStore, unsigned int evseId);
69+
virtual ~Evse();
6970

7071
void loop();
7172

0 commit comments

Comments
 (0)