diff options
Diffstat (limited to 'source/core/slang-process-util.h')
| -rw-r--r-- | source/core/slang-process-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-process-util.h b/source/core/slang-process-util.h index 03265c1cb..89e3400a0 100644 --- a/source/core/slang-process-util.h +++ b/source/core/slang-process-util.h @@ -52,6 +52,9 @@ struct CommandLine /// Get the total number of args SLANG_FORCE_INLINE Index getArgCount() const { return m_args.getCount(); } + /// Reset to the initial state + void reset() { *this = CommandLine(); } + /// Ctor CommandLine():m_executableType(ExecutableType::Unknown) {} |
