projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
[occt.git]
/
src
/
AIS
/
AIS_Axis.cxx
diff --git
a/src/AIS/AIS_Axis.cxx
b/src/AIS/AIS_Axis.cxx
index
8ae1383
..
aab1609
100644
(file)
--- a/
src/AIS/AIS_Axis.cxx
+++ b/
src/AIS/AIS_Axis.cxx
@@
-81,7
+81,7
@@
myIsXYZAxis(Standard_True)
Standard_Real aLength;
try {
aLength = UnitsAPI::AnyToLS(100. ,"mm");
- } catch (Standard_Failure) {
+ } catch (Standard_Failure
const&
) {
aLength = 0.1;
}
DA->SetAxisLength(aLength,aLength,aLength);