shithub: rgbds

Download patch

ref: c82cce6d95876c49116826becc116b8e20162a14
parent: 97965c9766e689ccacd30faff48070bb7aafd812
author: ISSOtm <eldredhabert0@gmail.com>
date: Wed Mar 9 18:58:54 EST 2022

Explicitly specify queue template param

GCC 7 fails to deduce the contained type

--- a/src/gfx/pal_packing.cpp
+++ b/src/gfx/pal_packing.cpp
@@ -370,7 +370,7 @@
 	};
 
 	// Begin with all proto-palettes queued up for insertion
-	std::queue queue(std::deque<ProtoPalAttrs>(Iota{0}, Iota{protoPalettes.size()}));
+	std::queue<ProtoPalAttrs> queue(std::deque<ProtoPalAttrs>(Iota{0}, Iota{protoPalettes.size()}));
 	// Begin with no pages
 	std::vector<AssignedProtos> assignments{};