summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a618dbb)
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/trunk@3678
362d55ac-95cf-4e76-9f9a-
cbaa9c17b72d
* @param exception The exception to mark the future with *if* the task
* completion fails.
*/
* @param exception The exception to mark the future with *if* the task
* completion fails.
*/
- void try_or_fail(const std::exception& exception)
+ template <class E>
+ void try_or_fail(const E& exception)
{
boost::mutex::scoped_lock lock(mutex_);
{
boost::mutex::scoped_lock lock(mutex_);