Merge branch 'master' into hashremoval

This commit is contained in:
itsmattkc
2022-05-23 11:44:12 -07:00
2 changed files with 2 additions and 4 deletions
@@ -83,7 +83,7 @@ void NodeParamViewItem::Retranslate()
void NodeParamViewItem::RecreateBody()
{
QWidget *old_body = body_;
delete body_;
body_ = new NodeParamViewItemBody(node_, create_checkboxes_);
connect(body_, &NodeParamViewItemBody::RequestSelectNode, this, &NodeParamViewItem::RequestSelectNode);
@@ -95,8 +95,6 @@ void NodeParamViewItem::RecreateBody()
body_->SetTime(time_);
body_->SetTimebase(timebase_);
SetBody(body_);
old_body->deleteLater();
}
int NodeParamViewItem::GetElementY(const NodeInput &c) const
+1 -1
View File
@@ -27,7 +27,7 @@ function(enable_sanitizers project_name)
endif()
option(ENABLE_SANITIZER_MEMORY "Enable memory sanitizer" OFF)
if(ENABLE_SANITIZER_MEMORY AND CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
if(ENABLE_SANITIZER_MEMORY AND (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"))
message(WARNING "Memory sanitizer requires all the code (including libc++) to be MSan-instrumented otherwise it reports false positives")
if("address" IN_LIST SANITIZERS
OR "thread" IN_LIST SANITIZERS