Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Apr 19, 2024
1 parent 2258c15 commit d5825c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/fb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ impl FrameBuffer {
}

thread_local! {
static FBS: RefCell<Vec<FrameBuffer>> = RefCell::new(Vec::new());
static FBS: RefCell<Vec<FrameBuffer>> = const { RefCell::new(Vec::new()) };
}

thread_local! {
static TIMEOUT: RefCell<Option<Timeout>> = RefCell::new(None);
static TIMEOUT: RefCell<Option<Timeout>> = const { RefCell::new(None) };
}

0 comments on commit d5825c2

Please sign in to comment.