summaryrefslogtreecommitdiff
path: root/src/systems/cmd/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/cmd/macros.rs')
-rw-r--r--src/systems/cmd/macros.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/systems/cmd/macros.rs b/src/systems/cmd/macros.rs
index c7d576d..23a277c 100644
--- a/src/systems/cmd/macros.rs
+++ b/src/systems/cmd/macros.rs
@@ -161,6 +161,9 @@ macro_rules! command_template {
#[macro_export]
macro_rules! cmd_output {
($v:expr, $t:ty) => {
- Ok((Box::new($v), stringify!($t).to_string()))
+ Ok((
+ Box::new($v) as Box<dyn std::any::Any + Send + 'static>,
+ stringify!($t).to_string(),
+ ))
};
}