[Boost-bugs] [Boost C++ Libraries] #3591: boost\date_time\posix_time\time_serialize.hpp(140) : warning C4100: 'ar' : unreferenced formal parameter

Subject: [Boost-bugs] [Boost C++ Libraries] #3591: boost\date_time\posix_time\time_serialize.hpp(140) : warning C4100: 'ar' : unreferenced formal parameter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-05 07:31:59


#3591: boost\date_time\posix_time\time_serialize.hpp(140) : warning C4100: 'ar' :
unreferenced formal parameter
-------------------------------------------------------------+--------------
 Reporter: Seweryn Habdank-Wojewodzki <seweryn@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: | Component: serialization
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
-------------------------------------------------------------+--------------
 Warning flood. Patch:

 Index: date_time/posix_time/time_serialize.hpp
 ===================================================================
 --- date_time/posix_time/time_serialize.hpp (revision 66)
 +++ date_time/posix_time/time_serialize.hpp (working copy)
 @@ -137,7 +137,7 @@

  //!override needed b/c no default constructor
  template<class Archive>
 -inline void load_construct_data(Archive & ar,
 +inline void load_construct_data(Archive & /*ar*/,
                                  posix_time::ptime* pt,
                                  const unsigned int /*file_version*/)
  {

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3591>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC