Clean up GCC warnings. Fixes #3033.

[SVN r62869]
This commit is contained in:
Steven Watanabe
2010-06-12 17:59:10 +00:00
parent 7c986ebd61
commit c9a5364472
39 changed files with 83 additions and 83 deletions

View File

@ -16,8 +16,8 @@ namespace
{
struct search_for
{
explicit search_for(int search)
: search(search)
explicit search_for(int in_search)
: search(in_search)
{}
template<typename T>

View File

@ -17,8 +17,8 @@ namespace
{
struct search_for
{
explicit search_for(int search)
: search(search)
explicit search_for(int in_search)
: search(in_search)
{}
template<typename T>

View File

@ -81,8 +81,8 @@ struct count_ints
typename result<count_ints(CountT, T)>::type
operator()(CountT const&, T const&) const
{
typedef typename result<count_ints(CountT, T)>::type result;
return result();
typedef typename result<count_ints(CountT, T)>::type result_;
return result_();
}
};

View File

@ -16,8 +16,8 @@ namespace
{
struct search_for
{
explicit search_for(int search)
: search(search)
explicit search_for(int in_search)
: search(in_search)
{}
template<typename T>

View File

@ -31,7 +31,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(int x, int y) : x(x), y(y) {}
point(int in_x, int in_y) : x(in_x), y(in_y) {}
int get_x() const { return x; }
int get_y() const { return y; }

View File

@ -31,7 +31,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(int x, int y) : x(x), y(y) {}
point(int in_x, int in_y) : x(in_x), y(in_y) {}
int get_x() const { return x; }
int get_y() const { return y; }

View File

@ -32,7 +32,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(X x, Y y) : x(x), y(y) {}
point(X in_x, Y in_y) : x(in_x), y(in_y) {}
X get_x() const { return x; }
Y get_y() const { return y; }

View File

@ -38,7 +38,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(int x, int y) : x(x), y(y) {}
point(int in_x, int in_y) : x(in_x), y(in_y) {}
int get_x() const { return x; }
int get_y() const { return y; }

View File

@ -38,7 +38,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(int x, int y) : x(x), y(y) {}
point(int in_x, int in_y) : x(in_x), y(in_y) {}
int get_x() const { return x; }
int get_y() const { return y; }

View File

@ -40,7 +40,7 @@ namespace ns
public:
point() : x(0), y(0) {}
point(X x, Y y) : x(x), y(y) {}
point(X x_, Y y_) : x(x_), y(y_) {}
X get_x() const { return x; }
Y get_y() const { return y; }

View File

@ -26,7 +26,7 @@ BOOST_FUSION_ADAPT_STRUCT(
(int, int_)
(std::string, string_)
(double, double_)
);
)
namespace fusion = boost::fusion;