summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index f2ce6d372..8af5b95e3 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -34,24 +34,15 @@ void dynamic_reference_base::reset_all()
}
// Version is a simple class for holding a modules version number
-template<>
-VersionBase<API_VERSION>::VersionBase(const std::string &desc, int flags)
-: description(desc), Flags(flags)
+Version::Version(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)
+Version::Version(const std::string &desc, int flags, const std::string& linkdata)
: description(desc), Flags(flags), link_data(linkdata)
{
}
-template<>
-bool VersionBase<API_VERSION>::CanLink(const std::string& other_data)
-{
- return link_data == other_data;
-}
-
Request::Request(Module* src, Module* dst, const char* idstr)
: id(idstr), source(src), dest(dst)
{