diff options
Diffstat (limited to 'boost/smart_ptr/detail/local_counted_base.hpp')
-rw-r--r-- | boost/smart_ptr/detail/local_counted_base.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/smart_ptr/detail/local_counted_base.hpp b/boost/smart_ptr/detail/local_counted_base.hpp index 398b46dd1a..fdfe2c65cd 100644 --- a/boost/smart_ptr/detail/local_counted_base.hpp +++ b/boost/smart_ptr/detail/local_counted_base.hpp @@ -60,6 +60,7 @@ public: void add_ref() BOOST_SP_NOEXCEPT { +#if !defined(__NVCC__) #if defined( __has_builtin ) # if __has_builtin( __builtin_assume ) @@ -67,6 +68,7 @@ public: # endif #endif +#endif local_use_count_ = static_cast<count_type>( local_use_count_ + 1 ); } |