Skip to content
Snippets Groups Projects
Commit 117e0f7d authored by Andreas Dedner's avatar Andreas Dedner
Browse files

change error into warning so that 'make check' work with older (4.5.3) compiler

parent 4665e135
No related branches found
No related tags found
No related merge requests found
......@@ -153,8 +153,8 @@ int main(){
// test constructor from nullptr
#ifndef 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