Index: /trunk/src/VBox/Main/src-server/RecordingScreenSettingsImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/RecordingScreenSettingsImpl.cpp	(revision 78069)
+++ /trunk/src/VBox/Main/src-server/RecordingScreenSettingsImpl.cpp	(revision 78070)
@@ -44,7 +44,7 @@
     { }
 
-    RecordingSettings * const          pParent;
-    ComObjPtr<RecordingScreenSettings> pPeer;
-    uint32_t                           uScreenId;
+    RecordingSettings * const                pParent;
+    const ComObjPtr<RecordingScreenSettings> pPeer;
+    uint32_t                                 uScreenId;
 
     // use the XML settings structure in the members for simplicity
@@ -138,5 +138,5 @@
 
     unconst(m->pParent) = aParent;
-    m->pPeer = aThat;
+    unconst(m->pPeer)   = aThat;
 
     AutoWriteLock thatlock(aThat COMMA_LOCKVAL_SRC_POS);
Index: /trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp	(revision 78069)
+++ /trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp	(revision 78070)
@@ -43,7 +43,7 @@
     { }
 
-    Machine * const              pMachine;
-    ComObjPtr<RecordingSettings> pPeer;
-    RecordScreenSettingsMap      mapScreenObj;
+    Machine * const                    pMachine;
+    const ComObjPtr<RecordingSettings> pPeer;
+    RecordScreenSettingsMap            mapScreenObj;
 
     // use the XML settings structure in the members for simplicity
@@ -115,5 +115,5 @@
 
     unconst(m->pMachine) = aParent;
-    m->pPeer = aThat;
+    unconst(m->pPeer)    = aThat;
 
     AutoWriteLock thatlock(aThat COMMA_LOCKVAL_SRC_POS);
