forked from boostorg/unordered
Merge branch 'develop'
This commit is contained in:
10
.travis.yml
10
.travis.yml
@ -27,12 +27,12 @@ matrix:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
echo "using gcc : : g++-4.8 --std=c++03 ;" > ~/user-config.jam
|
echo "using gcc : : g++-4.8 --std=c++03 -fsanitize=address ;" > ~/user-config.jam
|
||||||
echo "using gcc : std11 : g++-4.8 --std=c++11 ;" >> ~/user-config.jam
|
echo "using gcc : std11 : g++-4.8 --std=c++11 -fsanitize=address ;" >> ~/user-config.jam
|
||||||
echo "using clang : : clang++ --std=c++03 ;" >> ~/user-config.jam
|
echo "using clang : : clang++ --std=c++03 -fsanitize=address ;" >> ~/user-config.jam
|
||||||
echo "using clang : std11 : clang++ --std=c++11 ;" >> ~/user-config.jam
|
echo "using clang : std11 : clang++ --std=c++11 -fsanitize=address ;" >> ~/user-config.jam
|
||||||
- cat ~/user-config.jam
|
- cat ~/user-config.jam
|
||||||
- touch Jamroot.jam
|
- touch Jamroot.jam
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd test && bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
- cd test && bjam ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||||
|
@ -148,6 +148,7 @@ void unordered_destructible_test(X&)
|
|||||||
X* ptr = new X();
|
X* ptr = new X();
|
||||||
X& a1 = *ptr;
|
X& a1 = *ptr;
|
||||||
(&a1)->~X();
|
(&a1)->~X();
|
||||||
|
::operator delete((void*)(&a1));
|
||||||
|
|
||||||
X a,b;
|
X a,b;
|
||||||
X const a_const;
|
X const a_const;
|
||||||
|
Reference in New Issue
Block a user