1
0
Fork 0
forked from suyu/suyu

shader/control_flow: Remove brace initializer in std containers

These containers have a default constructor.
This commit is contained in:
ReinUsesLisp 2019-10-27 02:23:03 -03:00
parent 654b77d2ec
commit deb1b54eed
No known key found for this signature in database
GPG key ID: 2DFC508897B39CFE

View file

@ -68,15 +68,15 @@ struct CFGRebuildState {
const ProgramCode& program_code;
ConstBufferLocker& locker;
u32 start{};
std::vector<BlockInfo> block_info{};
std::list<u32> inspect_queries{};
std::list<Query> queries{};
std::unordered_map<u32, u32> registered{};
std::set<u32> labels{};
std::map<u32, u32> ssy_labels{};
std::map<u32, u32> pbk_labels{};
std::unordered_map<u32, BlockStack> stacks{};
ASTManager* manager;
std::vector<BlockInfo> block_info;
std::list<u32> inspect_queries;
std::list<Query> queries;
std::unordered_map<u32, u32> registered;
std::set<u32> labels;
std::map<u32, u32> ssy_labels;
std::map<u32, u32> pbk_labels;
std::unordered_map<u32, BlockStack> stacks;
ASTManager* manager{};
};
enum class BlockCollision : u32 { None, Found, Inside };