Fix missing template parameters (#151)
Fix missing template parameters in MaybeDo. The latest version of clang
throws an error without this fix.
Fixes #150
diff --git a/runtime/cpp/emboss_arithmetic.h b/runtime/cpp/emboss_arithmetic.h
index ee2cb40..ede3dd1 100644
--- a/runtime/cpp/emboss_arithmetic.h
+++ b/runtime/cpp/emboss_arithmetic.h
@@ -89,7 +89,7 @@
typename... ArgsT>
inline constexpr Maybe<ResultT> MaybeDo(Maybe<ArgsT>... args) {
return AllKnown(args...)
- ? Maybe<ResultT>(static_cast<ResultT>(OperatorT::template Do(
+ ? Maybe<ResultT>(static_cast<ResultT>(OperatorT::template Do<>(
static_cast<IntermediateT>(args.ValueOrDefault())...)))
: Maybe<ResultT>();
}