summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-10 19:02:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-10 19:02:48 +0200
commitcb38011818063ac2b28fb09c9e34b2fc3a558988 (patch)
tree0fa11852dca63b467e0ce42eac19ca1112bda55a /opentrack
parent598be0f84aa6cd5c7f72b223410ada08a627c1f9 (diff)
pt: issue with duplicate symbols on including dshow.h in two files
Let's work around it by including dshow.h in only one file
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();