Skip to content

Commit dfdeeba

Browse files
author
Pierre-Luc Gagné
committed
Fix MSVC max macro collision in sql_numeric
1 parent b69fdf9 commit dfdeeba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/include/ds_mysql/sql_numeric.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace ds_mysql {
1010

1111
namespace detail {
1212

13-
inline constexpr uint32_t unspecified_numeric_scale = std::numeric_limits<uint32_t>::max();
13+
inline constexpr uint32_t unspecified_numeric_scale = (std::numeric_limits<uint32_t>::max)();
1414

1515
template <typename Derived, typename Repr>
1616
struct formatted_numeric_base {

0 commit comments

Comments
 (0)