From: Nicolas Sceaux Date: Mon, 21 Dec 2009 11:24:50 +0000 (+0100) Subject: Fix compilation issue on OS X X-Git-Tag: release/2.13.10-1~121 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ece67b326057581f3f2b518d3eac9ce5ab4a213d;p=lilypond.git Fix compilation issue on OS X --- diff --git a/flower/include/std-vector.hh b/flower/include/std-vector.hh index d0fa0ede3d..765ab44b56 100644 --- a/flower/include/std-vector.hh +++ b/flower/include/std-vector.hh @@ -74,7 +74,7 @@ typedef size_t vsize; #if HAVE_STL_DATA_METHOD #include #else /* !HAVE_STL_DATA_METHOD */ -#define vector __vector +#define vector __flower_vector #include #undef vector @@ -82,21 +82,21 @@ namespace std { /* Interface without pointer arithmetic (iterator) semantics. */ template > - class vector : public __vector + class vector : public __flower_vector { public: - typedef typename __vector::iterator iterator; - typedef typename __vector::const_iterator const_iterator; + typedef typename __flower_vector::iterator iterator; + typedef typename __flower_vector::const_iterator const_iterator; - vector () : __vector () + vector () : __flower_vector () { } - vector (vector const& v) : __vector (v) + vector (vector const& v) : __flower_vector (v) { } - vector (const_iterator b, const_iterator e) : __vector (b, e) + vector (const_iterator b, const_iterator e) : __flower_vector (b, e) { }