projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git]
/
src
/
Graphic3d
/
Graphic3d_Vector.cxx
diff --git
a/src/Graphic3d/Graphic3d_Vector.cxx
b/src/Graphic3d/Graphic3d_Vector.cxx
index
3d76c33
..
bbbee63
100644
(file)
--- a/
src/Graphic3d/Graphic3d_Vector.cxx
+++ b/
src/Graphic3d/Graphic3d_Vector.cxx
@@
-99,7
+99,7
@@
Standard_Real Graphic3d_Vector::Z () const {
void Graphic3d_Vector::Normalize () {
if (Abs (MyNorme) <= RealEpsilon ())
-
Graphic3d_VectorError::Raise
("The norm is null");
+
throw Graphic3d_VectorError
("The norm is null");
if (!IsNormalized()) // CQO CTS40181
{