Typo fix
authorkhizmax <libcds.dev@gmail.com>
Sun, 16 Nov 2014 11:54:01 +0000 (14:54 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sun, 16 Nov 2014 11:54:01 +0000 (14:54 +0300)
cds/gc/details/hp.h

index 88b56fa786e11f41bda4a1d5cb04419ec1a8ce54..b6d052ed3ff00a2c85266eb163c514a4632474df 100644 (file)
@@ -621,7 +621,7 @@ namespace cds {
                 } cast_ptr;
                 cast_ptr.p = p;
 
-                uinion{
+                union{
                     void( *pFunc )(T *);
                     free_retired_ptr_func hpFunc;
                 } cast_func;
@@ -629,7 +629,7 @@ namespace cds {
 
                 retirePtr( details::retired_ptr( cast_ptr.hp, cast_func.hpFunc ) );
                 */
-                retirePtr( details::retired_ptr( reinterpret_cast<void *>( p ), reinterpret_cast<free_retired_ptr_func>( pFunc ) ) );
+                retirePtr( details::retired_ptr( reinterpret_cast<void *>( p ), reinterpret_cast<free_retired_ptr_func>( pFunc )));
             }
 
             /// Places retired pointer \p into thread's array of retired pointer for deferred reclamation