From 4968cc5d70a143f3886b7a0686b82789f4d0a7f3 Mon Sep 17 00:00:00 2001 From: Wang Qing Date: Tue, 6 Nov 2018 10:30:53 +0800 Subject: [PATCH] Fix a small typo (#3240) --- src/ray/util/util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ray/util/util.h b/src/ray/util/util.h index 1139b85e2..f5fc657de 100644 --- a/src/ray/util/util.h +++ b/src/ray/util/util.h @@ -47,11 +47,11 @@ class InitShutdownRAII { /// function when it is out of scope. /// /// \param init_func The init function. - /// \param shuntdown_func The shutdown function. - /// \param args The auguments for the init function. + /// \param shutdown_func The shutdown function. + /// \param args The arguments for the init function. template - InitShutdownRAII(InitFunc init_func, ShutdownFunc shuntdown_func, Args &&... args) - : shutdown_(shuntdown_func) { + InitShutdownRAII(InitFunc init_func, ShutdownFunc shutdown_func, Args &&... args) + : shutdown_(shutdown_func) { init_func(args...); }