Commit 5f88d43c authored by Ian P. Cooke's avatar Ian P. Cooke

replaecd deprecated atomic initializer with const fn `new`

parent 85ec00cf
Pipeline #86898 failed with stages
in 4 minutes and 45 seconds
......@@ -125,7 +125,7 @@ impl<'lt, 'ast: 'lt, Boilerplate: boilerplate::Boilerplate<'ast>>
quote! {
static mut PRIV: PrivateStatic = PrivateStatic {
gtype: ::std::sync::atomic::ATOMIC_USIZE_INIT,
gtype: ::std::sync::atomic::AtomicUsize::new(0),
private_offset: 0i32,
private: {
#structname {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment