Project

General

Profile

Actions

Task #1481

closed

Change constructor of Validator classes

Added by Yingdi Yu about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
04/14/2014
Due date:
% Done:

100%

Estimated time:

Description

In current implementation, the Face member of Validator is defined as shared_ptr<Face>.
The constructor of Validator also requires shared_ptr<Face>.
This forces applications that use validators to allocate Face in heap.

In this task, we need to change shared_ptr<Face> to Face&.

Actions #1

Updated by Yingdi Yu about 10 years ago

  • Assignee set to Yingdi Yu
Actions #2

Updated by Yingdi Yu about 10 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Alex Afanasyev about 10 years ago

  • Status changed from Code review to In Progress
  • % Done changed from 100 to 80

We can remove the old API now (in a new commit).

Actions #4

Updated by Yingdi Yu almost 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 80 to 100
Actions #5

Updated by Yingdi Yu almost 10 years ago

  • Category set to Security
  • Status changed from Code review to Closed
  • Target version set to v0.1
Actions

Also available in: Atom PDF