From 45b0075a752094b5ac3d9246533c16edf526a241 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Wed, 6 Aug 2014 11:27:11 +0200 Subject: [PATCH] VectorSet compile fix. refs #146 --- neo/idlib/containers/VectorSet.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neo/idlib/containers/VectorSet.h b/neo/idlib/containers/VectorSet.h index ba78bd72..0dde76d8 100644 --- a/neo/idlib/containers/VectorSet.h +++ b/neo/idlib/containers/VectorSet.h @@ -170,7 +170,11 @@ ID_INLINE int idVectorSet::FindVector( const type& v, const flo } hash.Add( hashKey, idList::Num() ); - Append( v ); + + // RB: compile fix for Fedora 17 + this->Append( v ); + // RB end + return idList::Num() - 1; }