From 6f16dac3572a81170405fdfe8374356257c0f060 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 19 Mar 2013 23:37:16 -0700 Subject: gras: regular inline for template implementations --- include/gras/detail/block.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/gras/detail') diff --git a/include/gras/detail/block.hpp b/include/gras/detail/block.hpp index c464446..588c3cc 100644 --- a/include/gras/detail/block.hpp +++ b/include/gras/detail/block.hpp @@ -11,7 +11,7 @@ namespace gras */ template -GRAS_FORCE_INLINE void Block::register_property( +inline void Block::register_property( const std::string &key, ValueType(ClassType::*get)(void), void(ClassType::*set)(const ValueType &) @@ -23,19 +23,19 @@ GRAS_FORCE_INLINE void Block::register_property( } template -GRAS_FORCE_INLINE void Block::set(const std::string &key, const ValueType &value) +inline void Block::set(const std::string &key, const ValueType &value) { this->_set_property(key, PMC_M(value)); } template -GRAS_FORCE_INLINE void Block::get(const std::string &key, ValueType &value) +inline void Block::get(const std::string &key, ValueType &value) { value = this->_get_property(key).as(); } template -GRAS_FORCE_INLINE ValueType Block::get(const std::string &key) +inline ValueType Block::get(const std::string &key) { return this->_get_property(key).as(); } -- cgit