| 85 | |
| 86 | template<class T> |
| 87 | static void logConversionError(T, const char *func, const char *target, |
| 88 | const char *value) |
| 89 | { |
| 90 | if (std::is_same<T, std::invalid_argument>::value) { |
| 91 | blog(LOG_WARNING, "%s invalid %s value (%s)", func, target, |
| 92 | value); |
| 93 | } else { |
| 94 | blog(LOG_WARNING, "%s value out of range for %s (%s)", func, |
| 95 | target, value); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | static void handleCrop(struct obs_sceneitem_crop &crop, const std::string &id, |
| 100 | const std::string &value) |
no outgoing calls
no test coverage detected