-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
enhancementSomething can be improvedSomething can be improvedfixedSomething works now, yay!Something works now, yay!
Description
Older parts of our codebase contain many macro constants:
Lines 11 to 14 in 66b1e23
| #define NSEC_PER_SEC 1000000000L | |
| #define NSEC_PER_MSEC 1000000L | |
| #define NSEC_PER_USEC 1000L | |
| #define MSEC_PER_SEC 1000 |
We try to avoid macros when possible, so we use constexpr variables in new code. We should update the old code to be consistent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementSomething can be improvedSomething can be improvedfixedSomething works now, yay!Something works now, yay!