Consistently format type qualifiers like const on the right (#1347)

This commit is contained in:
Sylvie
2024-03-10 12:21:52 -04:00
committed by GitHub
parent d982d47c56
commit 820f6b5b3c
22 changed files with 103 additions and 66 deletions

View File

@@ -21,7 +21,7 @@
#include "gfx/main.hpp"
static DefaultInitVec<uint8_t> readInto(const std::string &path) {
static DefaultInitVec<uint8_t> readInto(std::string const &path) {
File file;
if (!file.open(path, std::ios::in | std::ios::binary)) {
fatal("Failed to open \"%s\": %s", file.c_str(path), strerror(errno));