diff options
author | Rene Engelhard <rene@debian.org> | 2014-11-23 19:29:09 +0100 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2014-11-23 19:29:47 +0100 |
commit | 43c59ee45f4a8303021d8ae22ea42a7238170f47 (patch) | |
tree | f49d2f436ef4c7735cf1598ee73f22537e9fa8bc /bridges | |
parent | 1e37a5519501627490597dba4640b43e6e32e1a4 (diff) |
gcc3_linux_powerpc64 bridges: assert -> static_assert to fix build
Change-Id: I9cd345de6895b38fc766b0fe16e218a146bfb7b9
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx index f982a938f0b6..f2e5174a1929 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx @@ -92,7 +92,7 @@ static typelib_TypeClass cpp2uno_call( ng++; // stack space - assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!"); + static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!"); // parameters void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams ); void ** pCppArgs = pUnoArgs + nParams; |