Skip to content

Commit

Permalink
Fix a gcc compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Feb 6, 2024
1 parent 595ac60 commit 86819f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgEarth/Threading
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ namespace osgEarth { namespace Threading
//! @func Function to execute
//! @return Future result. If this objects goes out of scope,
//! the job will be canceled and may not run at all.
template<typename FUNC, typename RETURN_TYPE = std::result_of<FUNC(Cancelable*)>::type>
template<typename FUNC, typename RETURN_TYPE = typename std::result_of<FUNC(Cancelable*)>::type>
Future<RETURN_TYPE> dispatch(FUNC function) const;

//! Dispatch the job for asynchronous execution and forget
Expand Down

0 comments on commit 86819f0

Please sign in to comment.