summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-21 16:24:45 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-21 16:24:45 +0000
commitb54cd47f8e02a483127166926e13893361278fa5 (patch)
treeb95686c70e1d911c760c827238e4e5351490b5f9 /libstdc++-v3
parent1eae365b9861c6341eac8af4b5cc895aa9e668e1 (diff)
downloadgcc-b54cd47f8e02a483127166926e13893361278fa5.tar.gz
* testsuite/util/io/prog_bar.cc: Qualify size_t.
* testsuite/util/io/prog_bar.hpp: Likewise. * testsuite/util/io/verified_cmd_line_input.hpp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/util/io/prog_bar.cc2
-rw-r--r--libstdc++-v3/testsuite/util/io/prog_bar.hpp8
-rw-r--r--libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp4
4 files changed, 13 insertions, 7 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 34b7e159940..9d1b1e5981c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ * testsuite/util/io/prog_bar.cc: Qualify size_t.
+ * testsuite/util/io/prog_bar.hpp: Likewise.
+ * testsuite/util/io/verified_cmd_line_input.hpp: Likewise.
+
2014-10-21 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement more Library Fundamentals v1 variable templates.
diff --git a/libstdc++-v3/testsuite/util/io/prog_bar.cc b/libstdc++-v3/testsuite/util/io/prog_bar.cc
index 14f4a8711b4..ad6c29f4555 100644
--- a/libstdc++-v3/testsuite/util/io/prog_bar.cc
+++ b/libstdc++-v3/testsuite/util/io/prog_bar.cc
@@ -41,7 +41,7 @@ namespace __gnu_pbds
namespace test
{
prog_bar::
- prog_bar(size_t max, std::ostream& r_os, bool display/*= true*/) :
+ prog_bar(std::size_t max, std::ostream& r_os, bool display/*= true*/) :
m_cur(0),
m_max(max),
m_cur_disp(0),
diff --git a/libstdc++-v3/testsuite/util/io/prog_bar.hpp b/libstdc++-v3/testsuite/util/io/prog_bar.hpp
index 8dc3b1f80f2..65a2909cfc4 100644
--- a/libstdc++-v3/testsuite/util/io/prog_bar.hpp
+++ b/libstdc++-v3/testsuite/util/io/prog_bar.hpp
@@ -57,7 +57,7 @@ namespace __gnu_pbds
enum{num_disp = 40};
public:
- prog_bar(size_t max, std::ostream& r_os, bool display = true);
+ prog_bar(std::size_t max, std::ostream& r_os, bool display = true);
void
inc();
@@ -69,10 +69,10 @@ namespace __gnu_pbds
operator=(const prog_bar& );
private:
- size_t m_cur;
- const size_t m_max;
+ std::size_t m_cur;
+ const std::size_t m_max;
- size_t m_cur_disp;
+ std::size_t m_cur_disp;
std::ostream& m_r_os;
diff --git a/libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp b/libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp
index 86600df8625..381ce4331ef 100644
--- a/libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp
+++ b/libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp
@@ -45,7 +45,7 @@ namespace __gnu_pbds
namespace test
{
void
- verify_argc(size_t given, size_t required);
+ verify_argc(std::size_t given, std::size_t required);
void
verify_prob(double prob);
@@ -56,7 +56,7 @@ namespace __gnu_pbds
double
get_cmd_line_prob(int argc, char* a_p_argv[], int argn);
- size_t
+ std::size_t
get_cmd_line_size(int argc, char* a_p_argv[], int argn);
bool