X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fmemory.cpp;h=f89d9fc894c26d207e6e3b8300d9f9dc99c6f7ae;hp=79956cdafecae37a113b7421d10cb30fadd1d2c1;hb=31e72f50fbb34d86877e5110401c49ce3fefd4bb;hpb=378ec811c8df431f5b4e7094eb1949476d3a79fe diff --git a/source/io/memory.cpp b/source/io/memory.cpp index 79956cd..f89d9fc 100644 --- a/source/io/memory.cpp +++ b/source/io/memory.cpp @@ -1,5 +1,6 @@ #include #include +#include "handle.h" #include "memory.h" using namespace std; @@ -106,7 +107,7 @@ unsigned Memory::seek(int off, SeekType type) return pos-begin; } -Handle Memory::get_event_handle() +const Handle &Memory::get_event_handle() { throw logic_error("Memory doesn't support events"); }