Skip to content

Add missing include file for std::atomic (required by slow_test)#3977

Merged
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix_rate_observer
Oct 20, 2022
Merged

Add missing include file for std::atomic (required by slow_test)#3977
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix_rate_observer

Conversation

@thsfs
Copy link
Copy Markdown
Contributor

@thsfs thsfs commented Oct 19, 2022

The slow_test may not build without the include header for std::atomic.
It is required for rate_observer class because it constructs an atomic object on 'std::atomic stopped{ false };'

Got an error for this when building on Ubuntu 22.04 with clang-14.

@thsfs thsfs requested a review from pwojcikdev October 19, 2022 22:10
@thsfs thsfs added the bug label Oct 19, 2022
@thsfs thsfs requested a review from dsiganos October 19, 2022 23:04
rate_observer class needs the include file because it constructs an
atomic object on 'std::atomic<bool> stopped{ false };'
@thsfs thsfs force-pushed the fix_rate_observer branch from 74cdeb9 to 4960c7b Compare October 19, 2022 23:14
@thsfs thsfs merged commit e578be1 into nanocurrency:develop Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants