Fix a build error in baby_fuzzer_minimizing (#1195)

Co-authored-by: toseven <Byone.heng@gmail.com>
This commit is contained in:
ToSeven 2023-04-03 19:38:11 +08:00 committed by GitHub
parent a01863696e
commit ea512f70f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ pub fn main() -> Result<(), Error> {
let observer =
unsafe { StdMapObserver::from_mut_ptr("signals", SIGNALS.as_mut_ptr(), SIGNALS.len()) };
let factory = MapEqualityFactory::with_observer(&observer);
let factory = MapEqualityFactory::new_from_observer(&observer);
// Feedback to rate the interestingness of an input
let mut feedback = MaxMapFeedback::new(&observer);