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
/
NCollection
/
NCollection_BaseSequence.cxx
diff --git
a/src/NCollection/NCollection_BaseSequence.cxx
b/src/NCollection/NCollection_BaseSequence.cxx
index
ed4fb9f
..
4cf81fe
100644
(file)
--- a/
src/NCollection/NCollection_BaseSequence.cxx
+++ b/
src/NCollection/NCollection_BaseSequence.cxx
@@
-216,7
+216,7
@@
void NCollection_BaseSequence::PInsertAfter (const Standard_Integer theIndex,
NCollection_BaseSequence& Other)
{
if (theIndex < 0 || theIndex > mySize)
-
Standard_OutOfRange::Rais
e();
+
throw Standard_OutOfRang
e();
if (Other.mySize != 0) {
if (theIndex == 0)
PPrepend (Other);