mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-25 08:43:17 -06:00
add explict type parameter for MSV C++
This commit is contained in:
1 parent
911dc4b4c8
commit
d3bb34f81b
1 file changed
+2
-2
@@ -77,8 +77,8 @@ class PGF_INTERNAL_DECL interval_map {
|
||||
Node *upd_node(Node *node, Node *left, Node *right)
|
||||
{
|
||||
node->sz = 1+size(left)+size(right);
|
||||
node->max = std::max((left == NULL) ? node->end : left->max,
|
||||
(right == NULL) ? node->end : right->max);
|
||||
node->max = std::max<size_t>((left == NULL) ? node->end : left->max,
|
||||
(right == NULL) ? node->end : right->max);
|
||||
node->left = left;
|
||||
node->right = right;
|
||||
return node;
|
||||
|
||||
Reference in new issue
Block a user