From f75563475bfe93a720c9ddcda8221d8cdc0d0af6 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Wed, 12 Dec 2018 13:07:18 +0100 Subject: [PATCH] remove multiple implemented function, always run guideline check --- .gitlab-ci.yml | 1 + libsrc/core/archive.cpp | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74a6b10d..7f88a9bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -145,6 +145,7 @@ test_guidelines: stage: test script: - docker run netgen_${CI_BUILD_REF_NAME}_${UBUNTU_VERSION}.id -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_${CI_BUILD_REF_NAME}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build_guidelines.sh + when: always ############################################ # Deploy stage ############################################ diff --git a/libsrc/core/archive.cpp b/libsrc/core/archive.cpp index 2e6c32ae..64789904 100644 --- a/libsrc/core/archive.cpp +++ b/libsrc/core/archive.cpp @@ -7,11 +7,6 @@ namespace ngcore { - void VersionInfo :: DoArchive(Archive& ar) - { - ar & mayor_ & minor_ & release & patch & git_hash; - } - // clang-tidy should ignore this static object static std::map library_versions; // NOLINT std::map& Archive :: GetLibraryVersions()