| 216 | |
| 217 | |
| 218 | void |
| 219 | ShadingContext::record_error (ErrorHandler::ErrCode code, |
| 220 | const std::string &text) const |
| 221 | { |
| 222 | m_buffered_errors.emplace_back(code,text); |
| 223 | // If we aren't buffering, just process immediately |
| 224 | if (! shadingsys().m_buffer_printf) |
| 225 | process_errors (); |
| 226 | } |
| 227 | |
| 228 | |
| 229 |
nothing calls this directly
no outgoing calls
no test coverage detected