From patchwork Thu Jan 3 01:31:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 137 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EE2F960B31 for ; Thu, 3 Jan 2019 02:30:13 +0100 (CET) Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8E969505 for ; Thu, 3 Jan 2019 02:30:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1546479013; bh=LQnKMhLoY8BFTytp7fVO5B6tjq6CUQWIt/xY4agalnc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AFHPRNeYWuBeoaMUeapTqCSLYBLoilGooFos/R1BhV1tT9N5+wJfBwSBz6+ut1Zyc lgpuA0qZmS4y7ppebFJQrkzrM3JrDFpCvT8NGaW0FXs8CmlPSpboLv804QIREk06O5 vPhNhf4+n172xdyGRtHmoReJMUNgTBgHP//HA+tk= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Thu, 3 Jan 2019 03:31:04 +0200 Message-Id: <20190103013110.6849-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190103013110.6849-1-laurent.pinchart@ideasonboard.com> References: <20190103013110.6849-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 3/9] libcamera: device_enumerator: Fix indentation X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 01:30:14 -0000 Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- src/libcamera/include/pipeline_handler.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h index d70056a165fd..00568c7052c0 100644 --- a/src/libcamera/include/pipeline_handler.h +++ b/src/libcamera/include/pipeline_handler.h @@ -45,17 +45,17 @@ private: }; #define REGISTER_PIPELINE_HANDLER(handler) \ - class handler##Factory : public PipelineHandlerFactory { \ - public: \ - handler##Factory() \ - { \ - PipelineHandlerFactory::registerType(#handler, this); \ - } \ - virtual PipelineHandler *create() { \ - return new handler(); \ - } \ - }; \ - static handler##Factory global_##handler##Factory; +class handler##Factory : public PipelineHandlerFactory { \ +public: \ + handler##Factory() \ + { \ + PipelineHandlerFactory::registerType(#handler, this); \ + } \ + virtual PipelineHandler *create() { \ + return new handler(); \ + } \ +}; \ +static handler##Factory global_##handler##Factory; } /* namespace libcamera */