diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index f460a6a28..cbd6c7b38 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -26,8 +26,14 @@ // Version is a simple class for holding a modules version number template<> -VersionBase<API_VERSION>::VersionBase(const std::string &modv, int flags) -: description(modv), Flags(flags) +VersionBase<API_VERSION>::VersionBase(const std::string &desc, int flags) +: description(desc), Flags(flags) +{ +} + +template<> +VersionBase<API_VERSION>::VersionBase(const std::string &desc, int flags, const std::string& linkdata) +: description(desc), Flags(flags), link_data(linkdata) { } |