@ -1,6 +1,6 @@
// ********************************************************* -*- C++ -*-
/*
* Copyright ( C ) 2004 - 201 7 Exiv2 maintainers
* Copyright ( C ) 2004 - 201 8 Exiv2 maintainers
*
* This program is part of the Exiv2 distribution .
*
@ -222,7 +222,7 @@ namespace Safe
/* Full specialization of builtin_add_overflow for type using the */ \
/* builtin_name intrinsic */ \
template < > \
bool builtin_add_overflow < type > ( type summand_1 , type summand_2 , type & result ) \
inline bool builtin_add_overflow < type > ( type summand_1 , type summand_2 , type & result ) \
{ \
return builtin_name ( summand_1 , summand_2 , & result ) ; \
}
@ -257,7 +257,7 @@ namespace Safe
*/
# define SPECIALIZE_builtin_add_overflow_WIN(type, builtin_name) \
template < > \
bool builtin_add_overflow ( type summand_1 , type summand_2 , type & result ) \
inline bool builtin_add_overflow ( type summand_1 , type summand_2 , type & result ) \
{ \
return builtin_name ( summand_1 , summand_2 , & result ) ! = S_OK ; \
}