You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf("Invoking o.px_ref()->describe(); /* A virtual function */\n");
230
230
o.px_ref()->describe();
231
231
#endif
232
-
SIMPLE_ERROR_SPRINTF("Could not convert %s of RTTI type %s to %s",_rep_(o).c_str(),typeid(o).name(), typeid(asttooling::DerivableMatchCallback*).name());
232
+
SIMPLE_ERROR("Could not convert {} of RTTI type {} to {}",_rep_(o), typeid(o).name(), typeid(asttooling::DerivableMatchCallback*).name());
SIMPLE_ERROR(("Incorrect object %s passed to function - expected type %s") , _rep_(o).c_str() , demangled);
632
+
SIMPLE_ERROR("Incorrect object {} passed to function - expected type {}", _rep_(o).c_str() , demangled);
633
633
} else {
634
-
SIMPLE_ERROR(("Incorrect object %s passed to function - expected type %s") , _rep_(o).c_str() , typeid(T).name());
634
+
SIMPLE_ERROR("Incorrect object {} passed to function - expected type {}", _rep_(o).c_str() , typeid(T).name());
635
635
}
636
636
}
637
637
ASSERT(v_alien);
@@ -663,7 +663,7 @@ struct from_object<const T *&> {
663
663
} elseif ( core::General_sp gp = o.asOrNull<core::General_O>() ) {
664
664
// What do I do here?
665
665
}
666
-
SIMPLE_ERROR_SPRINTF("Could not convert %s of RTTI type %s to %s", _rep_(o).c_str(), typeid(o).name(), typeid(T *&).name());
666
+
SIMPLE_ERROR("Could not convert {} of RTTI type {} to {}", _rep_(o).c_str(), typeid(o).name(), typeid(T *&).name());
667
667
}
668
668
};
669
669
@@ -687,7 +687,7 @@ T& safe_deref(T* ptr) {
687
687
if (ptr) {
688
688
return *ptr;
689
689
}
690
-
SIMPLE_ERROR(("Passing NULL to a from_object that dereferences - this probably means that NIL was passed to a clbind wrapped function that expects a real object"));
690
+
SIMPLE_ERROR("Passing NULL to a from_object that dereferences - this probably means that NIL was passed to a clbind wrapped function that expects a real object");
SIMPLE_ERROR(("You tried to compare an iterator %s to an object %s of class %s and the isA relationship failed") , _rep_(this->asSmartPtr()) , _rep_(other) , _rep_(core::instance_class(other)));
56
+
SIMPLE_ERROR("You tried to compare an iterator {} to an object {} of class %s and the isA relationship failed",
if (gctools::smart_ptr<Iterator> io = other.asOrNull<Iterator<IT>>()) {
62
-
IT& otherIterator = io->_Iterator;
63
-
returnthis->_Iterator == otherIterator;
61
+
IT &otherIterator = io->_Iterator;
62
+
returnthis->_Iterator == otherIterator;
64
63
}
65
-
SIMPLE_ERROR(("You tried to compare an iterator %s to an object %s of class %s and the isA relationship failed") , _rep_(this->asSmartPtr()) , _rep_(other) , _rep_(core::instance_class(other)));
64
+
SIMPLE_ERROR("You tried to compare an iterator {} to an object {} of class {} and the isA relationship failed",
if (Iterator<IT> *io = gc::As<gc::smart_ptr<Iterator<IT>>>(other)) {
69
-
returnthis->_Iterator < (*io)._Iterator;
69
+
returnthis->_Iterator < (*io)._Iterator;
70
70
}
71
-
SIMPLE_ERROR(("You tried to compare an iterator %s to an object %s of class %s and the isA relationship failed") , _rep_(this->asSmartPtr()) , _rep_(other) , _rep_(core::instance_class(other)));
71
+
SIMPLE_ERROR("You tried to compare an iterator {} to an object {} of class {} and the isA relationship failed",
0 commit comments