Skip to content

Commit

Permalink
Use path instead of ident (paritytech#7809)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi authored and darkfriend77 committed Jan 11, 2021
1 parent cbeb134 commit b87c451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/benchmarking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ macro_rules! impl_benchmark_test {

#[macro_export]
macro_rules! add_benchmark {
( $params:ident, $batches:ident, $name:ident, $( $location:tt )* ) => (
( $params:ident, $batches:ident, $name:path, $( $location:tt )* ) => (
let name_string = stringify!($name).as_bytes();
let instance_string = stringify!( $( $location )* ).as_bytes();
let (config, whitelist) = $params;
Expand Down

0 comments on commit b87c451

Please sign in to comment.