| 183 | |
| 184 | |
| 185 | void |
| 186 | ASTNode::error_impl (string_view msg) const |
| 187 | { |
| 188 | #if OIIO_VERSION >= 10803 |
| 189 | m_compiler->error (sourcefile(), sourceline(), "%s", msg); |
| 190 | #else |
| 191 | // DEPRECATED -- delete when minimum OIIO is at least 1.8 |
| 192 | m_compiler->error (sourcefile(), sourceline(), "%s", msg.c_str()); |
| 193 | #endif |
| 194 | } |
| 195 | |
| 196 | |
| 197 |