Browse Source

Merge pull request #1835 from joe-rivos/fix-ignored-attributes-warning

Fix ignored-attributes warning for unique_ptr declaration
pull/1839/head
Andrew Waterman 1 year ago
committed by GitHub
parent
commit
fa694e2ae3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      riscv/log_file.h

2
riscv/log_file.h

@ -31,7 +31,7 @@ public:
FILE *get() { return wrapped_file ? wrapped_file.get() : stderr; }
private:
std::unique_ptr<FILE, decltype(&fclose)> wrapped_file;
std::unique_ptr<FILE, int(*)(FILE*)> wrapped_file;
};
#endif

Loading…
Cancel
Save