try fix Issue 1066
This commit is contained in:
parent
b2ae6b0f0e
commit
617c27bf41
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ public:
|
|||
if(it->second.length() > 0) {
|
||||
if(it->second[0] == '-'){
|
||||
return -1;
|
||||
} else if (it->second[0] == '0'){
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue