mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
Fix a small typo (#3240)
This commit is contained in:
committed by
Robert Nishihara
parent
bf88aa5013
commit
4968cc5d70
+4
-4
@@ -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 <class InitFunc, class... Args>
|
||||
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...);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user