Merge pull request #548 from baldurk/vs2010-compile-fixes
VS2010 compile fixes
This commit is contained in:
commit
1fabc0f697
9 changed files with 170 additions and 164 deletions
|
|
@ -361,7 +361,7 @@ const TFunction* TParseContextBase::selectFunction(
|
|||
return viableCandidates.front();
|
||||
|
||||
// 4. find best...
|
||||
auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2){
|
||||
auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
|
||||
// is call -> can2 better than call -> can1 for any parameter
|
||||
bool hasBetterParam = false;
|
||||
for (int param = 0; param < call.getParamCount(); ++param) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue