Don't mark FolderId constructor as constexpr.
This commit is contained in:
parent
ba2f63f8b0
commit
0862f03be2
@ -20,7 +20,7 @@ class FolderId {
|
||||
public:
|
||||
FolderId() = default;
|
||||
|
||||
explicit constexpr FolderId(int32 folder_id) : id(folder_id) {
|
||||
explicit FolderId(int32 folder_id) : id(folder_id) {
|
||||
if (id != 1) {
|
||||
id = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user