Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool submit_operation(Operation* o){
- try{
- enable_logging(it);
- bool i = o->execute()
- o->log(it);
- return i;
- }
- catch (Operation_Error &error){
- *it << error << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement