diff --git a/alib2std/src/extensions/vector.hpp b/alib2std/src/extensions/vector.hpp
index 0f7693145642e86d7af4b11ade422a705ae5c1ce..04ea3364be625229c2201d2b3c6f07c5dc5c9df8 100644
--- a/alib2std/src/extensions/vector.hpp
+++ b/alib2std/src/extensions/vector.hpp
@@ -135,7 +135,7 @@ ext::vector < bool, Ts ... > & operator ^= ( ext::vector < bool, Ts ... > & A, c
 		* ( itA._M_p ++ ) ^= * ( itB._M_p ++ ); // word-at-a-time bitwise operation
 
 	while ( itA < A.end ( ) ) // The rest of A above the size of B shall be flipped
-		* ( itA._M_p ++ ) = ~ * ( itA._M_p ++ );
+		* ( itA._M_p ++ ) = ~ * ( itA._M_p );
 
 	return A;
 }
diff --git a/alib2std/test-src/extensions/SharedPtrTest.h b/alib2std/test-src/extensions/SharedPtrTest.h
index bff20bd84adc104502b3b2d01545603e60213c85..2edbf3a9e6b3a6151b3279980571e811f6d09056 100644
--- a/alib2std/test-src/extensions/SharedPtrTest.h
+++ b/alib2std/test-src/extensions/SharedPtrTest.h
@@ -62,6 +62,9 @@ class Base {
 public:
 	virtual Base* clone() const = 0;
 
+	virtual ~Base ( ) {
+	}
+
 };
 
 class Derived : public Base {
@@ -70,6 +73,9 @@ public:
 		return new Derived(*this);
 	}
 
+	virtual ~Derived ( ) override {
+	}
+
 };
 
 public: