/* Boost.Flyweight basic test template.
*
- * Copyright 2006-2014 Joaquin M Lopez Munoz.
+ * Copyright 2006-2019 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
BOOST_TEST(f3==f2);
#endif
- f1=f1;
+ f1=((void)0,f1); /* self assignment warning */
BOOST_TEST(f1==f1);
c1=f2;
}catch(const throwing_value_exception&){}
try{
throwing_flyweight fw=throwing_flyweight(throwing_value());
+ (void)fw;
}catch(const throwing_value_exception&){}
#endif