From a205f3f2040f06618beb2a97fb26f844c2e78e80 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sun, 12 Mar 2006 17:03:05 +0000 Subject: make g++4 happy. thanks scw. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- cacheserver/friend.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cacheserver') diff --git a/cacheserver/friend.cpp b/cacheserver/friend.cpp index 4f8e9663..a3110ea7 100644 --- a/cacheserver/friend.cpp +++ b/cacheserver/friend.cpp @@ -150,7 +150,7 @@ struct RelationList: public myvector { } clear(); } - public: + private: void setbackoffset(short which,short offset) { assert(0<=which && which { } pop_back(); } - friend void RelationList::add(Uid me, Uid him); - friend void RelationList::deleteall(Uid me); - friend void RelationList::delete_half(short offset); + friend class RelationList; }; struct Like; -- cgit v1.2.3