Skip to content

Commit b7af985

Browse files
committed
fix MSVC min macro conflict in GAUtilities
1 parent 029ce47 commit b7af985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/gameanalytics/GAUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace gameanalytics
7474

7575
inline std::string trimString(std::string const& str, std::size_t size)
7676
{
77-
return str.substr(0, std::min(size, str.size()));
77+
return str.substr(0, (std::min)(size, str.size()));
7878
}
7979

8080
inline json parseFields(std::string const& fields)

0 commit comments

Comments
 (0)