Use assign instead of clear and resize

This commit is contained in:
heckflosse
2017-09-25 13:14:21 +02:00
parent 4313cfc74c
commit 31095d3a9d
2 changed files with 2 additions and 4 deletions

View File

@@ -511,8 +511,7 @@ void Options::setDefaults ()
#endif
// 0 = SET mode, 1 = ADD mode
baBehav.clear();
baBehav.resize(ADDSET_PARAM_NUM, 0);
baBehav.assign(ADDSET_PARAM_NUM, 0);
rtSettings.darkFramesPath = "";
rtSettings.flatFieldsPath = "";