summaryrefslogtreecommitdiff
path: root/src/cam/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/options.cpp')
-rw-r--r--src/cam/options.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cam/options.cpp b/src/cam/options.cpp
index 2c56eacf..77b3cc1f 100644
--- a/src/cam/options.cpp
+++ b/src/cam/options.cpp
@@ -65,6 +65,12 @@ const OptionValue &OptionsBase<T>::operator[](const T &opt) const
}
template<typename T>
+void OptionsBase<T>::invalidate()
+{
+ valid_ = false;
+}
+
+template<typename T>
bool OptionsBase<T>::parseValue(const T &opt, const Option &option,
const char *optarg)
{