From 1af293847c21289520d94a39db364e202a19b689 Mon Sep 17 00:00:00 2001 From: Carlo Teubner Date: Sat, 1 Dec 2018 17:49:20 +0000 Subject: [PATCH] LayeredStream dtor: fully qualify 'close()' call `close()` is a virtual function. Since we are calling it from a destructor, make it clear that we are specifically calling the base class (`QIODevice`) implementation, as opposed to an implementation in any derived class. [Found by lgtm.com](https://lgtm.com/projects/g/keepassxreboot/keepassxc/alerts) --- src/streams/LayeredStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streams/LayeredStream.cpp b/src/streams/LayeredStream.cpp index af62dae95..8e254efbf 100644 --- a/src/streams/LayeredStream.cpp +++ b/src/streams/LayeredStream.cpp @@ -26,7 +26,7 @@ LayeredStream::LayeredStream(QIODevice* baseDevice) LayeredStream::~LayeredStream() { - close(); + QIODevice::close(); } bool LayeredStream::isSequential() const