Project

General

Profile

Actions

Task #1481

closed

Change constructor of Validator classes

Added by Yingdi Yu about 10 years ago. Updated about 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

Also available in: Atom PDF