From 0c25e8cab1763bc763339a1a7f81baab0e32178f Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 12 Dec 2017 23:23:13 +0100 Subject: [PATCH] Maybe fixed a linker issue (db::GDS2Writer vtable not found) --- src/db/db/dbGDS2Writer.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/db/db/dbGDS2Writer.cc b/src/db/db/dbGDS2Writer.cc index 1a4b13f61..b01824e56 100644 --- a/src/db/db/dbGDS2Writer.cc +++ b/src/db/db/dbGDS2Writer.cc @@ -45,34 +45,34 @@ GDS2Writer::GDS2Writer () m_progress.set_unit (1024 * 1024); } -inline void +void GDS2Writer::write_byte (unsigned char b) { mp_stream->put ((const char *) &b, 1); } -inline void +void GDS2Writer::write_record_size (int16_t i) { gds2h (i); mp_stream->put ( (char*)(&i), sizeof (i)); } -inline void +void GDS2Writer::write_record (int16_t i) { gds2h (i); mp_stream->put ( (char*)(&i), sizeof (i)); } -inline void +void GDS2Writer::write_short (int16_t i) { gds2h (i); mp_stream->put ( (char*)(&i), sizeof (i)); } -inline void +void GDS2Writer::write_int (int32_t l) { gds2h (l);