Templatize SamplePair

This commit is contained in:
Gitea committed 2019-08-30 12:23:10 +02:00
1 parent 2dd793bdee
commit 06354e55c5
1 file changed
+4 -2
+4 -2
View File
@@ -5,10 +5,12 @@
#define qvoid void
struct SamplePair {
qint16 x, y;
template<typename T> struct SamplePairT {
T x, y;
};
typedef SamplePairT<qint16> SamplePair;
class Device : public QIODevice
{
Q_OBJECT