diff options
Diffstat (limited to 'include/constant.h')
-rw-r--r-- | include/constant.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/constant.h b/include/constant.h index a3a059f..b578019 100644 --- a/include/constant.h +++ b/include/constant.h @@ -87,6 +87,14 @@ public: * @param size Length of the string value */ Constant(const char *name, const char *value, size_t size); + + /** + * Constructor to create a constant for a string literal + * using a std::string + * + * @param name Constant's name + * @param value Constant's value + */ Constant(const char *name, const std::string &value); /** |