Code

Correcting initialization order in ctor.
authorJon A. Cruz <jon@joncruz.org>
Sun, 27 Dec 2009 03:25:48 +0000 (19:25 -0800)
committerJon A. Cruz <jon@joncruz.org>
Sun, 27 Dec 2009 03:25:48 +0000 (19:25 -0800)
src/document.cpp

index df77dde6413477512d601a226f70256d5d4590cf..3104ade288663e40d9b79b41266dceb9ca224419 100644 (file)
@@ -97,9 +97,9 @@ SPDocument::SPDocument() :
     rerouting_handler_id(0),
     profileManager(0), // deferred until after other initialization
     router(new Avoid::Router(Avoid::PolyLineRouting|Avoid::OrthogonalRouting)),
-    current_persp3d(0),
     _collection_queue(0),
-    oldSignalsConnected(false)
+    oldSignalsConnected(false),
+    current_persp3d(0)
 {
     // Penalise libavoid for choosing paths with needless extra segments.
     // This results in much better looking orthogonal connector paths.