Skip to content

Commit

Permalink
Readd name to spectator Run struct, allow dead code for now
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Aug 31, 2024
1 parent 64167ae commit 742fcba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/spectator/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ async fn handle_connection(
storage.runs.insert(
name.clone(),
Run {
name: name.clone(),
solver,
settings,
selected,
Expand Down
2 changes: 2 additions & 0 deletions crates/spectator/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ impl FuncCount {
}

pub struct Run {
#[allow(dead_code)]
pub name: String,
pub solver: String,
pub settings: HashMap<SettingName, String>,
pub selected: HashSet<String>,
Expand Down

0 comments on commit 742fcba

Please sign in to comment.