Revision: 74272
          http://sourceforge.net/p/brlcad/code/74272
Author:   d_rossberg
Date:     2019-10-31 16:06:49 +0000 (Thu, 31 Oct 2019)
Log Message:
-----------
fixed exception declaration (even if they will go soon)

Modified Paths:
--------------
    rt^3/trunk/include/brlcad/Sketch.h
    rt^3/trunk/src/coreInterface/Sketch.cpp

Modified: rt^3/trunk/include/brlcad/Sketch.h
===================================================================
--- rt^3/trunk/include/brlcad/Sketch.h  2019-10-31 16:04:57 UTC (rev 74271)
+++ rt^3/trunk/include/brlcad/Sketch.h  2019-10-31 16:06:49 UTC (rev 74272)
@@ -126,7 +126,7 @@
             void                SetEndPoint(const Vector2D& endPoint) 
throw(bad_alloc);
 
             Vector3D            Center(void) const throw();
-            void                SetCenter(Vector2D c) throw();
+            void                SetCenter(Vector2D c) throw(bad_alloc);
             double              Radius(void) const throw();
             void                SetRadius(double radius) throw();
             bool                CenterIsLeft(void) const throw();

Modified: rt^3/trunk/src/coreInterface/Sketch.cpp
===================================================================
--- rt^3/trunk/src/coreInterface/Sketch.cpp     2019-10-31 16:04:57 UTC (rev 
74271)
+++ rt^3/trunk/src/coreInterface/Sketch.cpp     2019-10-31 16:06:49 UTC (rev 
74272)
@@ -405,7 +405,7 @@
 
 void Sketch::CircularArc::SetCenter(
     Vector2D c
-) throw() {
+) throw(bad_alloc) {
     assert(m_circularArcSegment != 0);
     assert(m_sketch != 0);
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to