Skip to content

Commit 2d05f17

Browse files
committed
[FIX] : fix for the new math operations change in imgui (#123)
1 parent c989cef commit 2d05f17

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

ImGuiFileDialog.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2525
SOFTWARE.
2626
*/
2727

28+
#ifndef IMGUI_DEFINE_MATH_OPERATORS
29+
#define IMGUI_DEFINE_MATH_OPERATORS
30+
#endif
31+
2832
#include "ImGuiFileDialog.h"
2933

3034
#ifdef __cplusplus
@@ -2761,12 +2765,10 @@ namespace IGFD
27612765

27622766
IGFD::ThumbnailFeature::~ThumbnailFeature() = default;
27632767

2764-
void IGFD::ThumbnailFeature::NewThumbnailFrame(FileDialogInternal& vFileDialogInternal)
2768+
void IGFD::ThumbnailFeature::NewThumbnailFrame(FileDialogInternal& /*vFileDialogInternal*/)
27652769
{
27662770
#ifdef USE_THUMBNAILS
27672771
prStartThumbnailFileDatasExtraction();
2768-
#else
2769-
(void)vFileDialogInternal;
27702772
#endif
27712773
}
27722774

0 commit comments

Comments
 (0)