]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/experimental/internet
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / experimental / internet
index bd9a05f12aa9ae0e75197b7028c99eb7c96119f6..f04163dc4534f0ee5a3f4be447b844e5802047fd 100644 (file)
@@ -1,6 +1,6 @@
 // <experimental/internet> -*- C++ -*-
 
-// Copyright (C) 2015-2023 Free Software Foundation, Inc.
+// Copyright (C) 2015-2024 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -252,7 +252,7 @@ namespace ip
       __string_with<_Allocator>
       to_string(const _Allocator& __a = _Allocator()) const
       {
-       auto __write = [__addr = to_uint()](char* __p, size_t __n) {
+       auto __write = [__addr = to_uint()](char* __p, size_t) {
          auto __to_chars = [](char* __p, uint8_t __v) {
            unsigned __n = __v >= 100u ? 3 : __v >= 10u ? 2 : 1;
            std::__detail::__to_chars_10_impl(__p, __n, __v);