gl_shader_gen: Make ShaderSetup's constructor explicit

Prevents implicit conversions.
merge-requests/60/head
Lioncash 2018-08-22 17:01:14 +07:00
parent 1fd979f50a
commit 12ba80a86c
1 changed files with 1 additions and 1 deletions

@ -115,7 +115,7 @@ struct ShaderEntries {
using ProgramResult = std::pair<std::string, ShaderEntries>;
struct ShaderSetup {
ShaderSetup(ProgramCode program_code) {
explicit ShaderSetup(ProgramCode program_code) {
program.code = std::move(program_code);
}