13
0

region: Drop superfluous setting of _type in Region constructor

This commit is contained in:
Mads Kiilerich 2024-07-22 16:01:06 +02:00 committed by Robin Gareus
parent ea242254d3
commit 213812c31c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -321,8 +321,6 @@ Region::Region (const SourceList& srcs)
{ {
register_properties (); register_properties ();
_type = srcs.front()->type();
use_sources (srcs); use_sources (srcs);
assert(_sources.size() > 0); assert(_sources.size() > 0);