diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:26:20 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:27:13 +0900 |
commit | 88e602c57797660ebe0f9e15dbd64c1ff16dead3 (patch) | |
tree | e96e9e1d22b982c9f62f86f2357a1f53f9ef9dac /boost/smart_ptr | |
parent | 4fadd968fa12130524c8380f33fcfe25d4de79e5 (diff) | |
download | boost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.tar.gz boost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.tar.bz2 boost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.zip |
Imported Upstream version 1.65.1upstream/1.65.1
Change-Id: Ie4005d637141f8311f4b6d46b613478a2b3dae59
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/smart_ptr')
-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 ); } |