aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-04-17 18:18:02 +0900
committeripknHama <ipknhama@gmail.com>2014-04-17 18:19:06 +0900
commitaf6bc11fb4360ca8a1f244283e51065ee38ffc80 (patch)
treed60fc78b54a116b9521041ee98c62bef9ca0ba5f /common.h
parent9ee37ce4bf664166807ff02b61d2e18181c4c1f9 (diff)
downloadcrow-af6bc11fb4360ca8a1f244283e51065ee38ffc80.tar.gz
crow-af6bc11fb4360ca8a1f244283e51065ee38ffc80.zip
resolve linking problem
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common.h b/common.h
index c028ee4..d222738 100644
--- a/common.h
+++ b/common.h
@@ -45,25 +45,25 @@ namespace flask
};
template<>
- int64_t routing_params::get<int64_t>(unsigned index) const
+ inline int64_t routing_params::get<int64_t>(unsigned index) const
{
return int_params[index];
}
template<>
- uint64_t routing_params::get<uint64_t>(unsigned index) const
+ inline uint64_t routing_params::get<uint64_t>(unsigned index) const
{
return uint_params[index];
}
template<>
- double routing_params::get<double>(unsigned index) const
+ inline double routing_params::get<double>(unsigned index) const
{
return double_params[index];
}
template<>
- std::string routing_params::get<std::string>(unsigned index) const
+ inline std::string routing_params::get<std::string>(unsigned index) const
{
return string_params[index];
}