forked from elemental/Elemental
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a subtle parameter expansion issue in sync info (#155)
It's mildly unfortunate that the function for recording the event on a SyncInfo is called "AddSynchronizationPoint". Thus we need an explicit `if constexpr` to stop the recursion such that the event record is actually avoided when we don't need it. C'est la vie.
- Loading branch information
Showing
1 changed file
with
4 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters