summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/camera-names.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/opentrack/camera-names.hpp b/opentrack/camera-names.hpp
index d6b26493..3d3948fa 100644
--- a/opentrack/camera-names.hpp
+++ b/opentrack/camera-names.hpp
@@ -13,8 +13,6 @@
# include <unistd.h>
#endif
-// template to allow compiler coalesce function at linking with multiple definitions
-template<typename = int>
QList<QString> get_camera_names() {
QList<QString> ret;
#if defined(_WIN32)
@@ -84,7 +82,6 @@ QList<QString> get_camera_names() {
return ret;
}
-template<typename = int>
int camera_name_to_index(const QString &name)
{
auto list = get_camera_names();