citra-emu
/
citra
Archived
1
0
Fork 0

primitive_assembly: Mark constructor explicit

Prevents any implicit constructions from occurring, given the
constructor isn't a converting constructor.
This commit is contained in:
Lioncash 2020-04-18 20:42:37 -04:00
parent 59bb84b86c
commit 2cefd16850
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ struct PrimitiveAssembler {
using TriangleHandler =
std::function<void(const VertexType& v0, const VertexType& v1, const VertexType& v2)>;
PrimitiveAssembler(
explicit PrimitiveAssembler(
PipelineRegs::TriangleTopology topology = PipelineRegs::TriangleTopology::List);
/*