summaryrefslogtreecommitdiff
path: root/src/options/options_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/options/options_template.h')
-rw-r--r--src/options/options_template.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/options/options_template.h b/src/options/options_template.h
index f5ea87c54..c5d233511 100644
--- a/src/options/options_template.h
+++ b/src/options/options_template.h
@@ -124,15 +124,6 @@ public:
void copyValues(const Options& options);
/**
- * Set the value of the given option. Uses `ref()`, which causes a
- * compile-time error if the given option is read-only.
- */
- template <class T>
- void set(T t, const typename T::type& val) {
- ref(t) = val;
- }
-
- /**
* Get a non-const reference to the value of the given option. Causes a
* compile-time error if the given option is read-only. Writeable options
* specialize this template with a real implementation.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback