Opened 7 years ago

Closed 7 years ago

#12023 closed Bugs (fixed)

unused parameter 's' warning in iserializer.hpp

Reported by: Jim McKim <james.h.mckim@…> Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.60.0 Severity: Cosmetic
Keywords: Cc:

Description

When compiled with clang, -Wall -Wextra, the header iserializer.hpp generates an "unused parameter 's'" warning.

*** iserializer.hpp.orig	2016-02-26 08:18:34.000000000 -0500
--- iserializer.hpp	2016-02-26 08:19:09.000000000 -0500
***************
*** 232,238 ****
              }
  
              template<void D(void *)>
!             static void deleter(void * t, std::size_t s){
                  D(t);
              }
              static void invoke_delete(T * t) {
--- 232,238 ----
              }
  
              template<void D(void *)>
!             static void deleter(void * t, std::size_t){
                  D(t);
              }
              static void invoke_delete(T * t) {

Change History (1)

comment:1 by Robert Ramey, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.