File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
Framework/CurveFitting/src/Functions
docs/source/release/v6.12.0/Workbench/New_features Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ void BSpline::resetValidators() {
61
61
auto attStartX = getAttribute (" StartX" );
62
62
auto attEndX = getAttribute (" EndX" );
63
63
64
- auto startXValidator = dynamic_cast <BoundedValidator<double > * >(attStartX.getValidator (). get ());
64
+ auto startXValidator = std::dynamic_pointer_cast <BoundedValidator<double >>(attStartX.getValidator ());
65
65
startXValidator->setUpper (attEndX.asDouble ());
66
66
67
- auto endXValidator = dynamic_cast <BoundedValidator<double > * >(attEndX.getValidator (). get ());
67
+ auto endXValidator = std::dynamic_pointer_cast <BoundedValidator<double >>(attEndX.getValidator ());
68
68
endXValidator->setLower (attStartX.asDouble ());
69
69
70
70
auto breakPointsValidator =
71
- dynamic_cast <ArrayBoundedValidator<double > * >(getAttribute (" BreakPoints" ).getValidator (). get ());
71
+ std::dynamic_pointer_cast <ArrayBoundedValidator<double >>(getAttribute (" BreakPoints" ).getValidator ());
72
72
breakPointsValidator->setLower (attStartX.asDouble ());
73
73
breakPointsValidator->setUpper (attEndX.asDouble ());
74
74
}
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ endif()
130
130
# ######################################################################################################################
131
131
set (CMAKE_CXX_STANDARD 20)
132
132
set (CMAKE_CXX_STANDARD_REQUIRED ON )
133
+ set (CMAKE_CXX_EXTENSIONS OFF )
133
134
134
135
# ######################################################################################################################
135
136
# Setup ccache
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
72
72
add_definitions (-D_LIBCPP_DISABLE_AVAILABILITY)
73
73
# Keep C++14 alignment behaviour while older macOS C++ ABI does not contain the required symbols. Minimum=macos 10.14
74
74
add_compile_options (-fno-aligned-new)
75
+ add_compile_options (-fno-assume-unique-vtables)
75
76
endif ()
76
77
77
78
# Add some options for debug build to help the Zoom profiler
Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ c_compiler:
5
5
- clang # [osx]
6
6
- vs2019 # [win]
7
7
c_compiler_version : # [unix]
8
- - 16 # [osx]
8
+ - 18 # [osx]
9
9
- 13 # [linux]
10
10
cxx_compiler :
11
11
- gxx # [linux]
12
12
- clangxx # [osx]
13
13
- vs2019 # [win]
14
14
cxx_compiler_version : # [unix]
15
- - 16 # [osx]
15
+ - 18 # [osx]
16
16
- 13 # [linux]
17
17
llvm_openmp : # [osx]
18
- - 16 # [osx]
18
+ - 18 # [osx]
19
19
20
20
python :
21
21
- 3.10
Original file line number Diff line number Diff line change
1
+ - Updated compiler on macOS from version 16 to version 18, which should result in performance improvements. See https://releases.llvm.org for release notes.
You can’t perform that action at this time.
0 commit comments