update color at picking and cleanup code from some warnings
This commit is contained in:
@@ -726,7 +726,7 @@ int App::res_from_index(int i)
|
||||
|
||||
int App::res_to_index(int res)
|
||||
{
|
||||
return std::distance(res_map.begin(), std::find(res_map.begin(), res_map.end(), res));
|
||||
return (int)std::distance(res_map.begin(), std::find(res_map.begin(), res_map.end(), res));
|
||||
}
|
||||
|
||||
std::string App::res_to_string(int res)
|
||||
|
||||
Reference in New Issue
Block a user