File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8
8
8
9
9
export CONTAINER_NAME=ci_native_nowallet
10
10
export DOCKER_NAME_TAG=ubuntu:16.04 # Use xenial to have one config run the tests in python3.5, see doc/dependencies.md
11
- export PACKAGES=" python3-zmq"
11
+ export PACKAGES=" python3-zmq clang-3.8 llvm-3.8 " # Use clang-3.8 to test C++11 compatibility, see doc/dependencies.md
12
12
export DEP_OPTS=" NO_WALLET=1"
13
13
export GOAL=" install"
14
- export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports"
14
+ export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports CC=clang-3.8 CXX=clang++-3.8 "
Original file line number Diff line number Diff line change @@ -290,14 +290,11 @@ class CScriptVisitor : public boost::static_visitor<CScript>
290
290
return CScript () << CScript::EncodeOP_N (id.version ) << std::vector<unsigned char >(id.program , id.program + id.length );
291
291
}
292
292
};
293
-
294
- const CScriptVisitor g_script_visitor;
295
-
296
293
} // namespace
297
294
298
295
CScript GetScriptForDestination (const CTxDestination& dest)
299
296
{
300
- return boost::apply_visitor (::g_script_visitor , dest);
297
+ return boost::apply_visitor (CScriptVisitor{} , dest);
301
298
}
302
299
303
300
CScript GetScriptForRawPubKey (const CPubKey& pubKey)
You can’t perform that action at this time.
0 commit comments