diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 0615174..e469cee 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -443,6 +443,14 @@ class FluidSCWrapper : public impl::FluidSCWrapperBase typename LongT::type bufnum = static_cast(fromArgs(w, args, LongT::type(), -1)); return InputBufferT::type(bufnum >= 0 ? new SCBufferAdaptor(bufnum, w) : nullptr); } + + template + static std::enable_if_t::value,P> + fromArgs(World *w, ArgType args, P&, int) + { + return {fromArgs(w, args, std::string{}, 0).c_str()}; + } + };