Project

General

Profile

Bug #9230

QueryModel::setHeaderData is no longer usable with 3 arguments

Added by Roel Standaert about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
10/19/2021
Due date:
% Done:

100%

Estimated time:

Description

using WAbstractTableModel::setHeaderData does cause the 2-argument version to be exposed in QueryModel, but default arguments to virtual functions have to be repeated if we want to use the 3-argument version.

Default arguments on virtual functions are a bad idea in general, and mixing overloading and inheritance can also be a world of pain, but we're stuck with it now.

This regression in Wt 4.5.1 was reported on the blog.

#1

Updated by Roel Standaert about 1 month ago

  • Target version set to 4.5.2
#2

Updated by Roel Standaert about 1 month ago

  • Status changed from New to InProgress
#3

Updated by Roel Standaert about 1 month ago

  • Status changed from InProgress to Review
  • Assignee deleted (Roel Standaert)
#4

Updated by Roel Standaert about 1 month ago

  • Status changed from Review to Resolved
  • Assignee set to Roel Standaert
#5

Updated by Roel Standaert about 1 month ago

  • % Done changed from 0 to 100

Also available in: Atom PDF