mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Server/Database: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
This commit is contained in:
@@ -45,7 +45,7 @@ class QueryCallback
|
||||
return _result;
|
||||
}
|
||||
|
||||
int IsReady()
|
||||
bool IsReady()
|
||||
{
|
||||
return _result.valid() && _result.wait_for(std::chrono::seconds(0)) == std::future_status::ready;
|
||||
}
|
||||
@@ -128,7 +128,7 @@ class QueryCallback_2
|
||||
return _result;
|
||||
}
|
||||
|
||||
int IsReady()
|
||||
bool IsReady()
|
||||
{
|
||||
return _result.valid() && _result.wait_for(std::chrono::seconds(0)) == std::future_status::ready;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user