From 51dae5a5dc820f2598aa961fc11446154ce20c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 24 Dec 2011 14:34:10 +0100 Subject: [PATCH] Fix for minor MSVC error. --- library/include/dfhack/MiscUtils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/include/dfhack/MiscUtils.h b/library/include/dfhack/MiscUtils.h index dfac76665..adae44377 100644 --- a/library/include/dfhack/MiscUtils.h +++ b/library/include/dfhack/MiscUtils.h @@ -248,7 +248,8 @@ std::string PrintSplatterType (int16_t mat1, int32_t mat2, vector +//FIXME: Error 8 error C4519: default template arguments are only allowed on a class template +template CT *binsearch_in_vector(std::vector &vec, FT CT::*field, AT value) { int min = -1, max = (int)vec.size(); CT **p = vec.data();