fix warnings generated by latest clang

This commit is contained in:
Daniel Larimer 2016-10-03 12:03:34 -04:00
parent a1354c5382
commit d352463e82
2 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ namespace fc
const std::string& what_value = "unspecified");
exception( const exception& e );
exception( exception&& e );
~exception();
virtual ~exception();
const char* name()const throw();
int64_t code()const throw();

View file

@ -22,7 +22,7 @@ namespace fc
{
if (slot + 1 > specific_data->size())
specific_data->resize(slot + 1);
(*specific_data)[slot] = std::move(detail::specific_data_info(new_value, cleanup));
(*specific_data)[slot] = detail::specific_data_info(new_value, cleanup);
}
void* get_thread_specific_data(unsigned slot)