mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove dynamic cast because it lead to errors again and agin (Poco::AutoPtr don't work correct with that)
This commit is contained in:
parent
cf7f6996da
commit
caa91c5523
@ -162,10 +162,13 @@ std::vector<Poco::AutoPtr<model::gradido::Transaction>> PendingTasksManager::get
|
||||
// TODO: don't use cast here, because can lead to errors
|
||||
Poco::ScopedLock<Poco::Mutex> _lock(mWorkMutex);
|
||||
std::vector<Poco::AutoPtr<model::gradido::Transaction>> transactions_to_sign;
|
||||
<<<<<<< HEAD
|
||||
|
||||
if (user->getModel()->getRole() != model::table::ROLE_ADMIN) {
|
||||
return transactions_to_sign;
|
||||
}
|
||||
=======
|
||||
>>>>>>> Remove dynamic cast because it lead to errors again and agin (Poco::AutoPtr don't work correct with that)
|
||||
|
||||
for (auto map_it = mPendingGradidoTransactions.begin(); map_it != mPendingGradidoTransactions.end(); map_it++)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user