diff --git a/la_traits.h b/la_traits.h index 2687be7..f525acc 100644 --- a/la_traits.h +++ b/la_traits.h @@ -26,7 +26,10 @@ #ifndef _LA_TRAITS_INCL #define _LA_TRAITS_INCL - +//avoid unsupported register directive in new C++ versions +#if __cplusplus > 201402L +#define register +#endif #include