Skip to content

Commit 2274fe1

Browse files
sangbidachuksys
authored andcommitted
Add a default implementation for DefaultPathFinder
1 parent c3d1fec commit 2274fe1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

simln-lib/src/sim_node.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,12 @@ pub trait PathFinder: Send + Sync + Clone {
526526
#[derive(Clone)]
527527
pub struct DefaultPathFinder;
528528

529+
impl Default for DefaultPathFinder {
530+
fn default() -> Self {
531+
Self::new()
532+
}
533+
}
534+
529535
impl DefaultPathFinder {
530536
pub fn new() -> Self {
531537
Self

0 commit comments

Comments
 (0)