summaryrefslogtreecommitdiff
path: root/audio/daapd/patches/patch-ad
blob: 7810ff74532164cc8df0bf45784b44f97bac5f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ad,v 1.1 2006/07/03 13:58:31 tron Exp $

--- daaplib/include/daap/tagoutput.h.orig	2006-07-03 10:56:28.000000000 +0100
+++ daaplib/include/daap/tagoutput.h	2006-07-03 10:39:27.000000000 +0100
@@ -98,9 +98,7 @@
 			return( func( *this ));
 		}
 			
-		friend inline TagOutput& end( TagOutput& x ) {
-			return( x.closeTag());
-		}
+		friend inline TagOutput& end( TagOutput& x );
 		
 	protected:
 		typedef std::vector<u8>  DataInt8;
@@ -125,4 +123,8 @@
 		TagOutput( const TagOutput& );
 		TagOutput& operator = ( const TagOutput& );
 	};
+
+	inline TagOutput& end( TagOutput& x ) {
+		return( x.closeTag());
+	}
 #endif