mirror of
https://github.com/TomHarte/CLK.git
synced 2025-07-29 23:24:43 +00:00
Standardises on const [Half]Cycles
as the thing called and returned, rather than const [Half]Cycles &
as it's explicitly defined to be only one int
in size, so using a reference is overly weighty.
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Storage {
|
||||
/*!
|
||||
Advances the event loop by @c number_of_cycles cycles.
|
||||
*/
|
||||
void run_for(const Cycles &cycles);
|
||||
void run_for(const Cycles cycles);
|
||||
|
||||
/*!
|
||||
@returns the number of whole cycles remaining until the next event is triggered.
|
||||
|
Reference in New Issue
Block a user