office-gobmx/external/boost/boost.uuid.Wshadow.warnings.patch
Michael Stahl b5f60ca53f boost: split up boost.6397.warnings.patch by module
Change-Id: I8cf46ebbe5b17109e9ab2a13ed7c50cc48d6eae4
2014-04-14 17:42:25 +02:00

24 lines
783 B
Diff

--- misc/boost_1_44_0/boost/uuid/uuid_io.hpp
+++ misc/build/boost_1_44_0/boost/uuid/uuid_io.hpp
@@ -59,7 +59,7 @@
}
if (flags & std::ios_base::left) {
- for (std::streamsize i=uuid_width; i<width; i++) {
+ for (std::streamsize s=uuid_width; s<width; ++s) {
os << fill;
}
}
--- misc/boost_1_44_0/boost/uuid/name_generator.hpp
+++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp
@@ -30,8 +30,8 @@
public:
typedef uuid result_type;
- explicit name_generator(uuid const& namespace_uuid)
- : namespace_uuid(namespace_uuid)
+ explicit name_generator(uuid const& namespace_uuid_)
+ : namespace_uuid(namespace_uuid_)
{}
uuid operator()(const char* name) {