From 3220a1dfbc9d5bcf4a62c65cff130023e551a157 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 6 Feb 2020 08:39:06 +0100 Subject: [PATCH] Properties: Code formatting --- include/property.h | 4 ++-- qa/unittests/common/test_property.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/property.h b/include/property.h index a0077fd17c..8b744889f4 100644 --- a/include/property.h +++ b/include/property.h @@ -273,11 +273,11 @@ protected: if ( !( std::is_enum::value && a.CheckType() ) && !a.CheckType() ) throw std::invalid_argument( "Invalid requested type" ); - return wxANY_AS(a, T); + return wxANY_AS( a, T ); } virtual void setter( void* aObject, wxAny& aValue ) = 0; - virtual wxAny getter( void* aObject ) const = 0; + virtual wxAny getter( const void* aObject ) const = 0; private: const wxString m_name; diff --git a/qa/unittests/common/test_property.cpp b/qa/unittests/common/test_property.cpp index af2db0e661..b6ce277383 100644 --- a/qa/unittests/common/test_property.cpp +++ b/qa/unittests/common/test_property.cpp @@ -1,5 +1,5 @@ /* -* This program source code file is part of KICAD, a free EDA CAD application. + * This program source code file is part of KICAD, a free EDA CAD application. * * Copyright (C) 2020 CERN * @author Maciej Suminski