File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ struct generic_compiler {
9595 std::vector<parameter> used_by_vp;
9696 boost::dynamic_bitset<> used_slots;
9797 boost::dynamic_bitset<> reserved_slots;
98- std:: size_t first_slot = 0 ;
98+ int first_slot = 0 ;
9999 std::size_t mark = 0 ; // temporary mark to detect cycles
100100 std::size_t weight = 0 ; // number of proper direct or indirect bases
101101 std::vector<vtbl_entry> vtbl;
@@ -562,7 +562,7 @@ void compiler<Policy>::augment_methods() {
562562
563563 abort ();
564564 }
565- parameter param = {&*meth_iter, param_index++};
565+
566566 meth_iter->vp .push_back (class_);
567567 }
568568
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ struct trace_type {
4141 auto operator ++() -> trace_type& {
4242 if constexpr (trace_enabled) {
4343 if (Policy::trace_enabled) {
44- for (int i = 0 ; i < indentation_level; ++i) {
44+ for (std:: size_t i = 0 ; i < indentation_level; ++i) {
4545 Policy::trace_stream << " " ;
4646 }
4747 }
@@ -96,10 +96,7 @@ template<class Policy>
9696auto operator <<(trace_type<Policy>& trace, const rflush& rf) -> auto & {
9797 if constexpr (trace_type<Policy>::trace_enabled) {
9898 if (Policy::trace_enabled) {
99- auto pad = rf.width ;
100- auto remain = rf.value ;
101-
102- int digits = 1 ;
99+ std::size_t digits = 1 ;
103100 auto tmp = rf.value / 10 ;
104101
105102 while (tmp) {
You can’t perform that action at this time.
0 commit comments