mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-18 16:26:00 -06:00
add explict type parameter for MSV C++
This commit is contained in:
@@ -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