summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/amd_gpu/gpu.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-04-17 22:38:14 +0200
committerpsychocrypt <psychocryptHPC@gmail.com>2018-04-17 22:38:14 +0200
commit5edfb0da5ea47e868174b0b7370050ed43964716 (patch)
tree658eb675c842b5191b898d2fc3ebb8064a984dba /xmrstak/backend/amd/amd_gpu/gpu.cpp
parent54403e8ed6c038c8c25bf2798bedd341a86cf7f5 (diff)
downloadxmr-stak-5edfb0da5ea47e868174b0b7370050ed43964716.zip
xmr-stak-5edfb0da5ea47e868174b0b7370050ed43964716.tar.gz
fix wrong unique_lock usage
clang warns about the wrong usage: ``` ``` xmrstak/net/jpsock.cpp:232:30: warning: parentheses were disambiguated as redundant parentheses around declaration of variable named 'job_mutex' [-Wvexing-parse] std::unique_lock<std::mutex>(job_mutex); ^~~~~~~~~~~ xmrstak/net/jpsock.cpp:232:30: note: add a variable name to declare a 'std::unique_lock<std::mutex>' initialized with 'job_mutex' std::unique_lock<std::mutex>(job_mutex); ```
Diffstat (limited to 'xmrstak/backend/amd/amd_gpu/gpu.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud