Fix various -Wundefined-var-template clang warnings.
This fixes bug #915.
This commit is contained in:
parent
e3e1f20c7f
commit
35334baa90
|
@ -80,6 +80,8 @@ print("namespace sigrok {", file=header)
|
|||
|
||||
# Template for beginning of class declaration and public members.
|
||||
header_public_template = """
|
||||
template<> const SR_API std::map<const enum {enumname}, const {classname} * const> EnumValue<{classname}, enum {enumname}>::_values;
|
||||
|
||||
/** {brief} */
|
||||
class SR_API {classname} : public EnumValue<{classname}, enum {enumname}>
|
||||
{{
|
||||
|
|
Loading…
Reference in New Issue