summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-11-15 18:04:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-11-17 13:30:15 +0000
commit3516a9b85f5e3ea02161ad85d63d61dbb782b455 (patch)
treef4a865c2dd71df6dc49d480889193b018bb88ccb
parentModern lto build settings (diff)
downloadslicer-3516a9b85f5e3ea02161ad85d63d61dbb782b455.tar.bz2
slicer-3516a9b85f5e3ea02161ad85d63d61dbb782b455.tar.xz
slicer-3516a9b85f5e3ea02161ad85d63d61dbb782b455.zip
Tidy fixes
-rw-r--r--Jamroot.jam28
-rw-r--r--slicer/slicer/hookMap.h6
2 files changed, 17 insertions, 17 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 9155369..d9e20c7 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -33,23 +33,23 @@ project
<toolset>tidy:<xcheckxx>hicpp-vararg
<toolset>tidy:<xcheckxx>hicpp-named-parameter
<toolset>tidy:<checkxx>performance-*
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/classes.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/classtype.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/collections.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/enums.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/functions.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/inheritance.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/interfaces.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/json.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/locals.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/optionals.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/structs.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/types.h
- <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/xml.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/classes.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/classtype.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/collections.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/enums.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/functions.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/inheritance.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/interfaces.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/json.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/locals.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/optionals.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/structs.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/types.h
+ <toolset>tidy:<exclude>test/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/xml.h
<toolset>tidy:<exclude>slicer/bin/common.h
<toolset>tidy:<exclude>xml/bin/tidy/debug/checker-none/cxxstd-17-iso/xmlExceptions.h
<toolset>tidy:<exclude>db/bin/tidy/debug/checker-none/cxxstd-17-iso/sqlExceptions.h
- <toolset>tidy:<exclude>db/bin/tidy/debug/checker-none/cxxstd-17-iso/testModels.h
+ <toolset>tidy:<exclude>db/bin/tidy/debug/checker-none/cxxstd-17-iso/visibility-hidden/testModels.h
<toolset>tidy:<exclude>ice/cpp/*
<toolset>tidy:<define>ICE_IGNORE_VERSION
<toolset>tidy:<define>__x86_64
diff --git a/slicer/slicer/hookMap.h b/slicer/slicer/hookMap.h
index a0763ac..c1ea44a 100644
--- a/slicer/slicer/hookMap.h
+++ b/slicer/slicer/hookMap.h
@@ -91,9 +91,9 @@ namespace Slicer {
return {this, e};
}
- std::string_view key;
- std::string_view HookCommon::*name;
- const HookPtr *b, *e;
+ std::string_view key {};
+ std::string_view HookCommon::*name {};
+ const HookPtr *b {}, *e {};
};
[[nodiscard]] constexpr inline eq