Commit c8043965 authored by Kenneth Leiter's avatar Kenneth Leiter

COMP: Fix boost shared_dynamic_cast test for clang compiler.

Clang compiler would fail boost shared_dynamic_cast test because
of incorrect main arguments in CMake.
parent 817cd649
......@@ -77,7 +77,7 @@ check_cxx_source_compiles("
struct Base { virtual ~Base(){} };
struct Derived : public Base {};
int main(int ac, char * av)
int main(int ac, char ** av)
{
boost::shared_ptr<Base> ptr(new Base());
boost::shared_dynamic_cast<Derived>(ptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment