From: whh8b@obs.cr
To: libstdc++@gcc.gnu.org
Subject: [PATCH] libstdc++: Add std:: prefix for forward_iterator_tag
Date: Fri, 19 Aug 2022 14:00:34 -0400 [thread overview]
Message-ID: <20220819180034.98441-2-whh8b@obs.cr> (raw)
In-Reply-To: <20220819180034.98441-1-whh8b@obs.cr>
From: Will Hawkins <whh8b@obs.cr>
libstdc++-v3/ChangeLog:
* include/bits/basic_string (basic_string(const _CharT*, size_type _, const _Alloc&)):
Add std:: prefix to forward_iterator_tag.
---
libstdc++-v3/include/bits/basic_string.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h
index b04fba95678..e7d7833e002 100644
--- a/libstdc++-v3/include/bits/basic_string.h
+++ b/libstdc++-v3/include/bits/basic_string.h
@@ -639,7 +639,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
std::__throw_logic_error(__N("basic_string: "
"construction from null is not valid"));
const _CharT* __end = __s + traits_type::length(__s);
- _M_construct(__s, __end, forward_iterator_tag());
+ _M_construct(__s, __end, std::forward_iterator_tag());
}
/**
--
2.34.1
next prev parent reply other threads:[~2022-08-19 18:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-19 18:00 whh8b
2022-08-19 18:00 ` whh8b [this message]
2022-08-19 18:48 ` Jonathan Wakely
2022-08-19 20:06 ` Will Hawkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220819180034.98441-2-whh8b@obs.cr \
--to=whh8b@obs.cr \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).