diff --git a/.vscode/settings.json b/.vscode/settings.json index 52b5e38db..3aa24a890 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,6 +26,7 @@ "functional": "cpp", "iomanip": "cpp", "__cxx_version": "cpp", - "string": "cpp" + "string": "cpp", + "type_traits": "cpp" } } diff --git a/src/common/FBSurfaceSDL2.cxx b/src/common/FBSurfaceSDL2.cxx index 552de3df5..275ae116f 100644 --- a/src/common/FBSurfaceSDL2.cxx +++ b/src/common/FBSurfaceSDL2.cxx @@ -179,7 +179,7 @@ void FBSurfaceSDL2::invalidate() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void FBSurfaceSDL2::free() { - myBlitter.reset(); + myBlitter.reset(nullptr); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -