Skip to content

Tags: gurki/bugle

Tags

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix propagation of source_location information. (#1)

* Fix propagation of source_location information.

There are two convenience methods PostOffice::memo
and PostOffice::card. These two convenience method
propagate some parameters to PostOffice::post.
But they didn't forward std::source_location.
The result was, we got the source_location of
the convenience methods rather than the originating
location.

To solve this we need to also provide the source_location
in the parameter list.
But then we have a problem. In the parameter list we use
a parameter pack, so we mustn't use a default parameter
as well.

Decision is to keep the source_location default parameter
as this is the information more important.

* Change default initialization for post call

---------

Co-authored-by: Miles <miles@coders-of-the-caribbean.de>

v1.1.0

Toggle v1.1.0's commit message
Add profiling build option