Permalink
Browse files

Remove redundant void argument list

  • Loading branch information...
jhasse committed Jan 9, 2019
1 parent 0f66085 commit 5e29b99ceef9f5b964dc0182da30533c3c71ee3e
Showing with 5 additions and 6 deletions.
  1. +2 −2 .clang-tidy
  2. +1 −2 src/rad/appdata.cpp
  3. +1 −1 src/rad/appdata.h
  4. +1 −1 subprojects/ticpp
@@ -1,6 +1,6 @@
---
Checks: 'modernize-use-override,readability-implicit-bool-conversion,modernize-deprecated-headers,readability-delete-null-pointer,readability-redundant-member-init,google-readability-redundant-smartptr-get'
WarningsAsErrors: 'modernize-use-override,readability-implicit-bool-conversion,modernize-deprecated-headers,readability-delete-null-pointer,clang-analyzer-core.CallAndMessage,google-readability-redundant-smartptr-get'
Checks: 'modernize-use-override,readability-implicit-bool-conversion,modernize-deprecated-headers,readability-delete-null-pointer,modernize-redundant-void-arg,google-readability-redundant-smartptr-get,hicpp-move-const-arg,readability-redundant-member-init'
WarningsAsErrors: 'modernize-use-override,readability-implicit-bool-conversion,modernize-deprecated-headers,readability-delete-null-pointer,modernize-redundant-void-arg,google-readability-redundant-smartptr-get,hicpp-move-const-arg,clang-analyzer-core.CallAndMessage'
CheckOptions:
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: '1'
@@ -3125,8 +3125,7 @@ wxString ApplicationData::GetEmbeddedFilesOutputPath()
return GetPathProperty( wxT("embedded_files_path") );
}

ApplicationData::PropertiesToRemove& ApplicationData::GetPropertiesToRemove_v1_12( void ) const
{
ApplicationData::PropertiesToRemove& ApplicationData::GetPropertiesToRemove_v1_12() const {
static PropertiesToRemove propertiesToRemove;
if( propertiesToRemove.empty() )
{
@@ -225,7 +225,7 @@ class ApplicationData
#endif

typedef std::map< std::string, std::set< std::string > > PropertiesToRemove;
PropertiesToRemove& GetPropertiesToRemove_v1_12( void ) const;
PropertiesToRemove& GetPropertiesToRemove_v1_12() const;

public:

Submodule ticpp updated 3 files
+1 −51 ticpp.cpp
+0 −43 ticpp.h
+2 −5 tinyxml.h

0 comments on commit 5e29b99

Please sign in to comment.