Skip to content

Commit 8ed7020

Browse files
committed
.
1 parent e95c46b commit 8ed7020

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

CImg.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,9 @@ namespace cimg_library {
23852385
template<typename T1,typename T2, typename T3, typename T4, typename T5>
23862386
inline void unused(const T1&, const T2&, const T3&, const T4&, const T5&) {}
23872387

2388+
template<typename T1,typename T2, typename T3, typename T4, typename T5, typename T6>
2389+
inline void unused(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&) {}
2390+
23882391
// [internal] Lock/unlock a mutex for managing concurrent threads.
23892392
// 'lock_mode' can be { 0=unlock | 1=lock | 2=trylock }.
23902393
// 'n' can be in [0,31] but mutex range [0,15] is reserved by CImg.
@@ -70663,8 +70666,8 @@ namespace cimg_library {
7066370666
const char *const button5_label, const char *const button6_label,
7066470667
const CImg<t>& logo, const bool is_centered=false) {
7066570668
#if cimg_display==0
70666-
cimg::unused(title,msg,button1_label,button2_label,button3_label,button4_label,button5_label,button6_label,
70667-
logo._data,is_centered);
70669+
cimg::unused(title,msg,logo._data,is_centered);
70670+
cimg::unused(button1_label,button2_label,button3_label,button4_label,button5_label,button6_label);
7066870671
throw CImgIOException("cimg::dialog(): No display available.");
7066970672
#else
7067070673
static const unsigned char

0 commit comments

Comments
 (0)