mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 16:13:21 +00:00
23 lines
416 B
C++
23 lines
416 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <AK/NonnullRefPtr.h>
|
||
|
#include <LibWeb/Fetch/Fetching/RefCountedFlag.h>
|
||
|
|
||
|
namespace Web::Fetch::Fetching {
|
||
|
|
||
|
NonnullRefPtr<RefCountedFlag> RefCountedFlag::create(bool value)
|
||
|
{
|
||
|
return adopt_ref(*new RefCountedFlag(value));
|
||
|
}
|
||
|
|
||
|
RefCountedFlag::RefCountedFlag(bool value)
|
||
|
: m_value(value)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
}
|