Project

General

Profile

Actions

Bug #1908

closed

Collection doesn't have operator =

Added by Kurt Roeckx over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/19/2013
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I had code that did this:

Wt::Dbo::collection results;

results = query.resultList();

This used to work, but now fails with an error message indicating that I didn't do any bind() calls on my query, while I did.

It works if I change it to:

Wt::Dbo::collection results = query.resultList();

It seems to have an (undocumented) copy constructor, but it doesn't seem to have an operator =, and the default operator = doesn't seem to work (anymore).

Kurt

Actions #1

Updated by Koen Deforche over 11 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.3.1
Actions #2

Updated by Koen Deforche over 11 years ago

  • Status changed from InProgress to Resolved

Hey,

Indeed the assignment operator for a collection wasn't properly implemented. I'm resolving this in my git copy, and will push this later today.

Regards,

koen

Actions #3

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF