Skip to content

getTimeStamp signature #212

@fl4p

Description

@fl4p

Hi,
thanks for this lib.

Signature of getTimeStamp(struct timeval *tv, int secFracDigits) should be
getTimeStamp(const struct timeval *tv, int secFracDigits), so we don't have to cast away the const when using this func externally.

Or even better, consider using references to match the general C++ style:
getTimeStamp(const struct timeval &tv, int secFracDigits)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions