From e5e5aec31c5369d8f283852b5f4b307bea6c4a29 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 00:50:51 +0000 Subject: Make Lilv::uri_to_path static inline (fix #777). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3583 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilvmm.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lilv') diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp index 71f1a24..628941c 100644 --- a/lilv/lilvmm.hpp +++ b/lilv/lilvmm.hpp @@ -21,7 +21,10 @@ namespace Lilv { -const char* uri_to_path(const char* uri) { return lilv_uri_to_path(uri); } +static inline const char* +uri_to_path(const char* uri) { + return lilv_uri_to_path(uri); +} #define LILV_WRAP0(RT, prefix, name) \ inline RT name() { return lilv_ ## prefix ## _ ## name (me); } -- cgit v1.2.1