Skip to content

Make Poco::Data::Date and Poco::Data::Time compare functions const. #346

@mizniz

Description

@mizniz

Can't compare const Date and Time.

bool operator == (const Time& time);
bool operator != (const Time& time);
bool operator < (const Time& time);
bool operator > (const Time& time);

Should be

bool operator == (const Time& time) const;
bool operator != (const Time& time) const;
bool operator < (const Time& time) const;
bool operator > (const Time& time) const;

Poco 1.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions