summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2013-03-19 23:37:16 -0700
committerJosh Blum2013-03-19 23:37:16 -0700
commit6f16dac3572a81170405fdfe8374356257c0f060 (patch)
treea249cea9c1895a7296f1f789ec0c1e72720bc5d0
parent71a5eed84e050e111ff60006312936f93efdae91 (diff)
downloadsandhi-6f16dac3572a81170405fdfe8374356257c0f060.tar.gz
sandhi-6f16dac3572a81170405fdfe8374356257c0f060.tar.bz2
sandhi-6f16dac3572a81170405fdfe8374356257c0f060.zip
gras: regular inline for template implementations
-rw-r--r--include/gras/detail/block.hpp8
1 files changed, 4 insertions, 4 deletions
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 <typename ClassType, typename ValueType>
-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 <typename ValueType>
-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 <typename ValueType>
-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<ValueType>();
}
template <typename ValueType>
-GRAS_FORCE_INLINE ValueType Block::get(const std::string &key)
+inline ValueType Block::get(const std::string &key)
{
return this->_get_property(key).as<ValueType>();
}