fix warnings generated by latest clang
This commit is contained in:
parent
a1354c5382
commit
d352463e82
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue