summaryrefslogtreecommitdiffstats
path: root/xmrstak/rapidjson/encodedstream.h
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-04-17 22:38:14 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2018-06-04 21:07:11 +0000
commit86b976dfa51a4d78669ce1f34eb5f6f4ce876ec3 (patch)
tree45bfd56fabfddd6a57c49c26ff7710fdfd12f871 /xmrstak/rapidjson/encodedstream.h
parent262c0a7791c7ddbbfde89747d3a6675eac1c5a8e (diff)
downloadxmr-stak-86b976dfa51a4d78669ce1f34eb5f6f4ce876ec3.zip
xmr-stak-86b976dfa51a4d78669ce1f34eb5f6f4ce876ec3.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/rapidjson/encodedstream.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud