Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73900 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-08-18 18:18:23


Author: trademark
Date: 2011-08-18 18:18:23 EDT (Thu, 18 Aug 2011)
New Revision: 73900
URL: http://svn.boost.org/trac/boost/changeset/73900

Log:
Correction of the compute_isbn10 function.
Text files modified:
   sandbox/SOC/2011/checks/boost/checks/isbn.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2011/checks/boost/checks/isbn.hpp
==============================================================================
--- sandbox/SOC/2011/checks/boost/checks/isbn.hpp (original)
+++ sandbox/SOC/2011/checks/boost/checks/isbn.hpp 2011-08-18 18:18:23 EDT (Thu, 18 Aug 2011)
@@ -63,7 +63,7 @@
 template <typename check_range>
 typename boost::checks::mod11_compute_algorithm::checkdigit<check_range>::type compute_isbn10 (const check_range& check_seq)
 {
- return boost::checks::compute_checkdigit<ISBN10_SIZE_WITHOUT_CHECKDIGIT> ( check_seq ) ;
+ return boost::checks::compute_checkdigit<boost::checks::mod11_compute_algorithm, ISBN10_SIZE_WITHOUT_CHECKDIGIT> ( check_seq ) ;
 }
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk