1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix code format

This commit is contained in:
bolero-MURAKAMI 2016-04-05 11:57:06 +09:00
parent aa8e265188
commit a0060119ab
31 changed files with 379 additions and 379 deletions

View file

@ -369,7 +369,7 @@ namespace sprout {
template<typename T>
inline SPROUT_NON_CONSTEXPR T*
get_pointer(sprout::exempt_ptr<T> const& p) SPROUT_NOEXCEPT {
return p.get();
return p.get();
}
} // namespace sprout

View file

@ -18,26 +18,26 @@ namespace sprout {
template<typename T>
inline SPROUT_CONSTEXPR T*
get_pointer(T* p) SPROUT_NOEXCEPT {
return p;
return p;
}
template<typename T>
inline SPROUT_NON_CONSTEXPR T*
get_pointer(std::auto_ptr<T> const& p) SPROUT_NOEXCEPT {
return p.get();
return p.get();
}
#if !defined(SPROUT_NO_CXX11_SMART_PTR)
template<typename T>
inline SPROUT_NON_CONSTEXPR T*
get_pointer(std::unique_ptr<T> const& p) SPROUT_NOEXCEPT {
return p.get();
return p.get();
}
template<typename T>
inline SPROUT_NON_CONSTEXPR T*
get_pointer(std::shared_ptr<T> const& p) SPROUT_NOEXCEPT {
return p.get();
return p.get();
}
#endif
} // namespace sprout