Skip to content
Snippets Groups Projects
Commit 02b3f95a authored by Markus Blatt's avatar Markus Blatt
Browse files

Fix failing (because of gcc<4.6) test for release.

[[Imported from SVN: r7090]]
parent 1f8968e3
No related branches found
No related tags found
No related merge requests found
......@@ -158,8 +158,8 @@ int main(){
// test constructor from nullptr
#if defined(SHARED_PTR_HEADER) && !defined(HAVE_NULLPTR)
#error Construction of shared_ptr from a nullptr will not work as compiler
#error does not support the latter.
#warning Construction of shared_ptr from a nullptr will not work as compiler
#warning does not support the latter.
shared_ptr<double> bar_null=shared_ptr<double>();
#else
shared_ptr<double> bar_null(nullptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment