From d6890791897ddebf1212d3e3147bf7aeb2415b27 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 16 Mar 2021 10:56:01 -0700 Subject: cmake: Generate cvc4_export.h and set visibility to hidden. (#6139) The build system (cmake) will automatically generate an export header cvc4_export.h, which makes sure that the correct export features are defined depending on the compiler and target platform. The macro CVC4_EXPORT replaces CVC4_PUBLIC and its usage is reduced by 2/3. Co-authored-by: Gereon Kremer --- src/util/resource_manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/resource_manager.h') diff --git a/src/util/resource_manager.h b/src/util/resource_manager.h index d9c30bc7f..a8a7edb75 100644 --- a/src/util/resource_manager.h +++ b/src/util/resource_manager.h @@ -35,7 +35,7 @@ class StatisticsRegistry; /** * This class implements a easy to use wall clock timer based on std::chrono. */ -class CVC4_PUBLIC WallClockTimer +class WallClockTimer { /** * The underlying clock that is used. @@ -71,7 +71,7 @@ class CVC4_PUBLIC WallClockTimer * time limits. The available resources are listed in ResourceManager::Resource * and their individual costs are configured via command line options. */ -class CVC4_PUBLIC ResourceManager +class ResourceManager { public: /** Types of resources. */ -- cgit v1.2.3