libcamera: Mark logPrefix() implementations with override

Virtual functions overriden in derived classes should be marked with the
override keyword. Do so for the logPrefix() implementations inheriting
from the Loggable class.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2020-06-04 03:39:30 +03:00
parent b60a7d708a
commit f1cac536f4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ public:
int sensorInfo(CameraSensorInfo *info) const;
protected:
std::string logPrefix() const;
std::string logPrefix() const override;
private:
const MediaEntity *entity_;