fix build: Don't check if unsigned int < 0
This commit is contained in:
1 parent
3623ac96db
commit
d5024f1858
1 file changed
+1
-1
@@ -79,7 +79,7 @@ bool FixedSecurity::get_quantity_info(
|
||||
float &tick_base,
|
||||
float &max_price,
|
||||
bool &is_notional) const {
|
||||
if (index < 0 || index >= _qty_info_size) {
|
||||
if (index >= _qty_info_size) {
|
||||
return false;
|
||||
}
|
||||
min_value = _qty_min_value[index];
|
||||
|
||||
Reference in new issue
Block a user