mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-04 04:45:36 -04:00
[libcalamares] Avoid implicit 0-to-flags conversion
- clang complains about using 0 as a Flags value, so make the default (empty) initialization explicit.
This commit is contained in:
parent
9dbd3a765b
commit
eb21c90861
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
Q_DECLARE_FLAGS( Flags, Flag )
|
||||
|
||||
RequestOptions()
|
||||
: m_flags( 0 )
|
||||
: m_flags( Flags() )
|
||||
, m_timeout( -1 )
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue