Avoid namespace conflicts #4
Loading…
Reference in New Issue
No description provided.
Delete Branch "argilo/gr-osmosdr:freesrp-namespaces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When libfreesrp is present, gr-osmosdr fails to build due to the following error:
This happens because C++17 added
std::sample
, which conflicts withFreeSRP::sample
.To fix this and avoid future conflicts, I removed
using namespace std;
andusing namespace FreeSRP;
.