Skip to content

Moved private statics into unnamed namespace in cpp file #222

Merged
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
nscooling:refactor-clock-private-statics
Mar 6, 2021
Merged

Moved private statics into unnamed namespace in cpp file #222
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
nscooling:refactor-clock-private-statics

Conversation

@nscooling
Copy link
Copy Markdown
Contributor

The Clock.h had unnecessary private static functions and members. These should not appear in a header file as they increase couple and add complexity to understanding of the header.

These have been moved to an unnamed namespace in Clock.cpp to aim readability and maintenace.

@JF002 JF002 merged commit 54dcd77 into InfiniTimeOrg:develop Mar 6, 2021
@nscooling nscooling deleted the refactor-clock-private-statics branch March 6, 2021 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants