Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-01-13 19:26:02 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-01-13 19:26:02 +0300
commitc8d8380a2c6679ef0170d374d5f34354616e0e10 (patch)
tree4dc43a67edf60567ace4718a45a771f2018ad872 /src/Endstops/ZProbeEndstop.h
parent36a72fd1cbc274a6f932294f184133e08d681858 (diff)
Various
FreelistManager in RRFLibraries now has its own namespace Class GCodeMachineState now uses FreelistManager to manage its storage Leading tabs are treated as going to the next multiple of 4 spaces from start of line or end of line number etc. Generate warning if both tabs and spaces are used to indent blocks
Diffstat (limited to 'src/Endstops/ZProbeEndstop.h')
-rw-r--r--src/Endstops/ZProbeEndstop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/ZProbeEndstop.h b/src/Endstops/ZProbeEndstop.h
index 2a3eeacc..f0bda810 100644
--- a/src/Endstops/ZProbeEndstop.h
+++ b/src/Endstops/ZProbeEndstop.h
@@ -13,8 +13,8 @@
class ZProbeEndstop final : public Endstop
{
public:
- void* operator new(size_t sz) noexcept { return Allocate<ZProbeEndstop>(); }
- void operator delete(void* p) noexcept { Release<ZProbeEndstop>(p); }
+ void* operator new(size_t sz) noexcept { return FreelistManager::Allocate<ZProbeEndstop>(); }
+ void operator delete(void* p) noexcept { FreelistManager::Release<ZProbeEndstop>(p); }
ZProbeEndstop(uint8_t axis, EndStopPosition pos) noexcept;