| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Linux/DefaultMemory.cpp | ||
| 3 | // \brief sets default Os::Memory to Linux implementation via linker | ||
| 4 | // ====================================================================== | ||
| 5 | #include "Os/Delegate.hpp" | ||
| 6 | #include "Os/Linux/Memory.hpp" | ||
| 7 | #include "Os/Memory.hpp" | ||
| 8 | |||
| 9 | namespace Os { | ||
| 10 | ✗ | MemoryInterface* MemoryInterface::getDelegate(MemoryHandleStorage& aligned_new_memory) { | |
| 11 | ✗ | return Os::Delegate::makeDelegate<MemoryInterface, Os::Linux::Memory::LinuxMemory>(aligned_new_memory); | |
| 12 | } | ||
| 13 | } // namespace Os | ||
| 14 |