mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-10-09 08:38:05 +01:00
catch exceptions by ref
This commit is contained in:
1 parent
e8b0565164
commit
442624912e
3 files changed
+9
-9
No files matched your search
@@ -75,7 +75,7 @@ void loadAndCheck(vector<DMatSample> &sample, const vector<string> &fileName)
|
||||
gotSize = true;
|
||||
}
|
||||
}
|
||||
catch (Exceptions::Definition)
|
||||
catch (Exceptions::Definition &)
|
||||
{
|
||||
failed.insert(i);
|
||||
}
|
||||
@@ -233,7 +233,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
process<DSample>(outFileName, fileName, code);
|
||||
}
|
||||
catch (Exceptions::Definition)
|
||||
catch (Exceptions::Definition &)
|
||||
{
|
||||
process<DMatSample>(outFileName, fileName, code);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user