|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84069 - branches/release/boost/serialization
From: ramey_at_[hidden]
Date: 2013-04-28 12:20:29
Author: ramey
Date: 2013-04-28 12:20:28 EDT (Sun, 28 Apr 2013)
New Revision: 84069
URL: http://svn.boost.org/trac/boost/changeset/84069
Log:
to suppress warning?
Properties modified:
branches/release/boost/serialization/ (props changed)
Text files modified:
branches/release/boost/serialization/smart_cast.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: branches/release/boost/serialization/smart_cast.hpp
==============================================================================
--- branches/release/boost/serialization/smart_cast.hpp (original)
+++ branches/release/boost/serialization/smart_cast.hpp 2013-04-28 12:20:28 EDT (Sun, 28 Apr 2013)
@@ -251,7 +251,7 @@
// cast on a system which doesn't support partial template
// specialization
template<class U>
- static T cast(U){
+ static T cast(U u){
BOOST_STATIC_ASSERT(sizeof(T)==0);
return * static_cast<T *>(NULL);
}
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