We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0043bf9 commit 6f2b3f6Copy full SHA for 6f2b3f6
src/liboslcomp/oslcomp_pvt.h
@@ -363,9 +363,9 @@ class OSLCompilerImpl {
363
364
// Output text to the osofile, using std::format formatting conventions.
365
template<typename... Args>
366
- inline void osofmt(const char* fmt, const Args&... args) const
+ inline void osofmt(const char* fmt, Args&&... args) const
367
{
368
- fmt::print(*m_osofile, fmt, args...);
+ fmt::print(*m_osofile, fmt, std::forward<Args>(args)...);
369
}
370
371
void track_variable_lifetimes()
0 commit comments