mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
Consistently format type qualifiers like const on the right (#1347)
This commit is contained in:
@@ -789,7 +789,7 @@ int main(int argc, char *argv[]) {
|
||||
}());
|
||||
if (options.palSpecType == Options::EXPLICIT) {
|
||||
fputs("\t[\n", stderr);
|
||||
for (const auto &pal : options.palSpec) {
|
||||
for (auto const &pal : options.palSpec) {
|
||||
fputs("\t\t", stderr);
|
||||
for (auto &color : pal) {
|
||||
if (color) {
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
#include <stdio.h>
|
||||
#include <streambuf>
|
||||
#include <string.h>
|
||||
#include <string_view>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user