Templatize SamplePair

This commit is contained in:
Gitea
2019-08-30 12:23:10 +02:00
parent 2dd793bdee
commit 06354e55c5

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