[beast/win32: 22/44] Avoid double definition by explicit inlining.
- From: Stefan Westerfeld <stw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [beast/win32: 22/44] Avoid double definition by explicit inlining.
- Date: Fri, 29 Jan 2010 16:23:16 +0000 (UTC)
commit 3e5e07b5f946b0ab11778052194a8ce7778e3501
Author: Stefan Westerfeld <stefan space twc de>
Date: Fri Sep 4 18:58:28 2009 +0200
Avoid double definition by explicit inlining.
Patch based on 009_inline_lib_make.diff.
bse/bsecxxplugin.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bse/bsecxxplugin.hh b/bse/bsecxxplugin.hh
index f76b681..ed50885 100644
--- a/bse/bsecxxplugin.hh
+++ b/bse/bsecxxplugin.hh
@@ -55,7 +55,7 @@ extern ::BseExportIdentity bse_builtin_export_identity; /* sync with bseplugin.h
#define BSE_CXX_REGISTER_STATIC_HOOK(HookType) BSE_CXX_REGISTER_HOOK_NODE (HookType, 1)
#define BSE_CXX_REGISTER_HOOK_NODE(HookType, __static) \
template<class E> static BseExportNode* bse_export_node (); \
- template<> BseExportNode* \
+ template<> inline BseExportNode* \
bse_export_node<HookType> () \
{ \
static BseExportNodeHook hnode = { \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]