summaryrefslogtreecommitdiff
path: root/tests/glibmm_vector/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glibmm_vector/main.cc')
-rw-r--r--tests/glibmm_vector/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/glibmm_vector/main.cc b/tests/glibmm_vector/main.cc
index b1ae14bb..d184ecc0 100644
--- a/tests/glibmm_vector/main.cc
+++ b/tests/glibmm_vector/main.cc
@@ -40,7 +40,7 @@ const unsigned int magic_limit(5);
GList*
create_list()
{
- GList* head = 0;
+ GList* head = nullptr;
for(unsigned int iter(0); iter < magic_limit; ++iter)
{
@@ -142,7 +142,7 @@ copy_array(GCredentials** array)
{
dup[iter] = array[iter];
}
- dup[magic_limit] = 0;
+ dup[magic_limit] = nullptr;
return dup;
}