Skip to content

Commit 89d8572

Browse files
committed
Fix release build
1 parent d59191b commit 89d8572

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3048,7 +3048,7 @@ std::string Converter::GetDefaultAsStringFallback(clang::QualType qual_type) {
30483048
if (auto record = qual_type->getAsRecordDecl();
30493049
record && in_const_initializer_) {
30503050
if (auto cxx = clang::dyn_cast<clang::CXXRecordDecl>(record)) {
3051-
assert(GetUserDefinedDefaultConstructor(cxx) == nullptr &&
3051+
ENSURE(GetUserDefinedDefaultConstructor(cxx) == nullptr &&
30523052
"Default initializing globals using default constructor is not "
30533053
"supported");
30543054
}

0 commit comments

Comments
 (0)