c++: silence warnings

* data/c++.m4 (basic_symbol<Base>::operator=): Unused parameter.
* tests/c++.at (C++ GLR parser identifier shadowing): Here too.
-
This commit is contained in:
Theophile Ranquet
2013-01-14 19:25:35 +01:00
parent 8b4499ad04
commit 60607adb3c
2 changed files with 5 additions and 2 deletions

View File

@@ -256,7 +256,7 @@ m4_define([b4_public_types_define],
template <typename Base>
inline
]b4_parser_class_name[::basic_symbol<Base>&
]b4_parser_class_name[::basic_symbol<Base>::operator= (const basic_symbol& other)
]b4_parser_class_name[::basic_symbol<Base>::operator= (const basic_symbol&)
{
abort ();
}