From 6c6ea2d54bf69868f0ad5112412e1776ac1d6947 Mon Sep 17 00:00:00 2001 From: Adam Lederer Date: Thu, 12 Sep 2024 13:33:18 -0700 Subject: [PATCH] keep template<> on same line --- src/gui/dataList.cpp | 3 +-- src/gui/gui.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/dataList.cpp b/src/gui/dataList.cpp index 46d286154..eaa364661 100644 --- a/src/gui/dataList.cpp +++ b/src/gui/dataList.cpp @@ -997,8 +997,7 @@ void FurnaceGUI::drawSampleList(bool asChild) { } } -template -void FurnaceGUI::waveListHorizontalGroup(float* wavePreview, int dir, int count, const func_waveItemData& waveItemData) { +template void FurnaceGUI::waveListHorizontalGroup(float* wavePreview, int dir, int count, const func_waveItemData& waveItemData) { if (count==0) return; float idealWidthMin=225.0f*dpiScale; diff --git a/src/gui/gui.h b/src/gui/gui.h index 4a7e9b40e..33d09d9a4 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -2817,8 +2817,7 @@ class FurnaceGUI { void actualWaveList(); void actualSampleList(); - template - void waveListHorizontalGroup(float* wavePreview, int dir, int count, const func_waveItemData& waveItemData); + template void waveListHorizontalGroup(float* wavePreview, int dir, int count, const func_waveItemData& waveItemData); void insListItem(int index, int dir, int asset); void waveListItem(int index, float* wavePreview, int dir, int asset); void sampleListItem(int index, int dir, int asset);