[beast] Avoid double definition by explicit inlining.
- From: Tim Janik <timj src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [beast] Avoid double definition by explicit inlining.
- Date: Sun, 14 Feb 2010 01:01:11 +0000 (UTC)
commit 3725cc5f7a82a5f1f61fa7d0bd1c05c8ba54e125
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 a332907..364840b 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]