summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-16 00:32:01 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-16 00:32:01 -0700
commitb6995f06b9b60eb8df5838572572bc2e4fd953c2 (patch)
treebaeed4006629b45b67036932b3744cc80e3aec3f /tests
parentbd23216420aa9b31fae6891ac267cd0ce1dddbb8 (diff)
Fix BorlandC compilation
Rename partition to partition3 to resolve conflicts with std::partition.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xpath_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_functions.cpp b/tests/test_xpath_functions.cpp
index 480eb97..604da78 100644
--- a/tests/test_xpath_functions.cpp
+++ b/tests/test_xpath_functions.cpp
@@ -809,7 +809,7 @@ TEST(xpath_unknown_functions)
query[0] = ch;
CHECK_XPATH_FAIL(query);
- query[0] = ch - 32;
+ query[0] = char_t(ch - 32);
CHECK_XPATH_FAIL(query);
}
}