From a6c4e430f6ccbb84684b7d94c79416f1004e0685 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 31 Jan 2015 18:05:02 +0000 Subject: [PATCH] setup serial_size method to be static git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7895 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/retroshare/rsids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/retroshare/rsids.h b/libretroshare/src/retroshare/rsids.h index 44f6412c0..a284de11c 100644 --- a/libretroshare/src/retroshare/rsids.h +++ b/libretroshare/src/retroshare/rsids.h @@ -111,7 +111,7 @@ template c inline std::string toStdString() const { return toStdString(UPPER_CASE) ; } - inline uint32_t serial_size() const { return SIZE_IN_BYTES ; } + inline static uint32_t serial_size() { return SIZE_IN_BYTES ; } bool serialise(void *data,uint32_t pktsize,uint32_t& offset) const { if(offset + SIZE_IN_BYTES > pktsize)