refactor: the default dowcasting mode changed from AUTO to ON

This commit is contained in:
Mateusz Pusz committed 2020-09-09 20:50:58 +02:00
1 parent e367afed71
commit 8f49561242
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ project(mp-units
LANGUAGES CXX
)
set(DOWNCAST_MODE AUTO CACHE STRING "Select downcasting mode")
set(DOWNCAST_MODE ON CACHE STRING "Select downcasting mode")
set_property(CACHE DOWNCAST_MODE PROPERTY STRINGS AUTO ON OFF)
# set path to custom cmake modules
+1 -1
View File
@@ -30,7 +30,7 @@
#error "Invalid DOWNCAST_MODE value"
#endif
#else
#define DOWNCAST_MODE 2
#define DOWNCAST_MODE 1
#endif
namespace units {