From patchwork Mon Dec 8 11:00:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 25386 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 11B2BBDDFC for ; Mon, 8 Dec 2025 11:00:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AFCAC613FC; Mon, 8 Dec 2025 12:00:41 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="GwnwGsnS"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C75F0613CB for ; Mon, 8 Dec 2025 12:00:39 +0100 (CET) Received: from pb-laptop.local (185.221.142.68.nat.pool.zt.hu [185.221.142.68]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A0B4C2E0 for ; Mon, 8 Dec 2025 11:58:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1765191500; bh=KA37pH/L0X5utgwtXP+ttwNBkxWQO9S5WtE6yCh9Enc=; h=From:To:Subject:Date:From; b=GwnwGsnSxTCOC9it80+ao4IQTL0cQ3jWJ18bfjGVHY9GosBAu3+oa59UfYtE+BB3X BHASraQFG57pSrWpl3aSBc7HjXqE3yN7pccVD0KJVmyjL9HVYc+CQKog+rpI0u4qP2 1MdRg0ceUqY5L0Zm6DAOtikxRJibhEM7FVevsd6U= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [RFC PATCH v2 1/3] libcamera: device_enumerator_udev: Add `override` Date: Mon, 8 Dec 2025 12:00:33 +0100 Message-ID: <20251208110035.248881-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Mark the overridden virtual functions as "override". Signed-off-by: Barnabás Pőcze --- include/libcamera/internal/device_enumerator_udev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libcamera/internal/device_enumerator_udev.h b/include/libcamera/internal/device_enumerator_udev.h index 1378c1906d..fb0005921a 100644 --- a/include/libcamera/internal/device_enumerator_udev.h +++ b/include/libcamera/internal/device_enumerator_udev.h @@ -32,8 +32,8 @@ public: DeviceEnumeratorUdev(); ~DeviceEnumeratorUdev(); - int init(); - int enumerate(); + int init() override; + int enumerate() override; private: using DependencyMap = std::map>;