Well, there is no way to turn of it for just that instance but the option -Wno-ctor-dtor-privacy turns off that warning globally. My personal opinon is that the compiler shouldn't issue that warning unless the user tries to access the constructor from outside the class. /Also annoyed