Skip to content

Commit

Permalink
revert allocator in Operation interface
Browse files Browse the repository at this point in the history
  • Loading branch information
matth-x committed Aug 6, 2024
1 parent 9424e16 commit a756b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/MicroOcpp/Core/Operation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

using MicroOcpp::Operation;

Operation::Operation(const char *memory_tag) : AllocOverrider(memory_tag) {}
Operation::Operation() {}

Operation::~Operation() {}

Expand Down
6 changes: 2 additions & 4 deletions src/MicroOcpp/Core/Operation.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@
#include <memory>
#include <ArduinoJson.h>

#include <MicroOcpp/Core/Memory.h>

namespace MicroOcpp {

std::unique_ptr<DynamicJsonDocument> createEmptyDocument();

class Operation : public AllocOverrider {
class Operation {
public:
Operation(const char *memory_tag = nullptr);
Operation();

virtual ~Operation();

Expand Down

0 comments on commit a756b01

Please sign in to comment.