fprime/Os/Linux/DefaultMemory.cpp
Thomas Boyer-Chammard 578e61f1da
Format Os Module (#3959)
* Format Os module

* Add Os to format-check CI

* Remove double semi-colon
2025-07-31 15:40:30 -07:00

14 lines
571 B
C++

// ======================================================================
// \title Os/Linux/DefaultMemory.cpp
// \brief sets default Os::Memory to Linux implementation via linker
// ======================================================================
#include "Os/Delegate.hpp"
#include "Os/Linux/Memory.hpp"
#include "Os/Memory.hpp"
namespace Os {
MemoryInterface* MemoryInterface::getDelegate(MemoryHandleStorage& aligned_new_memory) {
return Os::Delegate::makeDelegate<MemoryInterface, Os::Linux::Memory::LinuxMemory>(aligned_new_memory);
}
} // namespace Os