Improve C++ linting, move exceptions inline

This commit is contained in:
Lovell Fuller
2019-11-14 22:06:38 +00:00
parent 1b401b1195
commit 0d1278dade
3 changed files with 4 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ using vips::VImage;
namespace sharp {
struct InputDescriptor {
struct InputDescriptor { // NOLINT(runtime/indentation_namespace)
std::string name;
std::string file;
char *buffer;
@@ -92,7 +92,7 @@ namespace sharp {
// Create an InputDescriptor instance from a v8::Object describing an input image
InputDescriptor* CreateInputDescriptor(
v8::Local<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
v8::Local<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); // NOLINT(runtime/references)
enum class ImageType {
JPEG,