Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
7143e49e
Unverified
Commit
7143e49e
authored
Sep 27, 2021
by
Martin Blais
Committed by
GitHub
Sep 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo `constuct` to `construct` in 3 places. (#1022)
parent
b1b63f7a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
absl/status/status.h
+1
-1
absl/status/statusor.h
+2
-2
absl/strings/string_view.h
+1
-1
No files found.
absl/status/status.h
View file @
7143e49e
...
...
@@ -346,7 +346,7 @@ inline StatusToStringMode& operator^=(StatusToStringMode& lhs,
// API developers should construct their functions to return `absl::OkStatus()`
// upon success, or an `absl::StatusCode` upon another type of error (e.g
// an `absl::StatusCode::kInvalidArgument` error). The API provides convenience
// functions to constuct each status code.
// functions to const
r
uct each status code.
//
// Example:
//
...
...
absl/status/statusor.h
View file @
7143e49e
...
...
@@ -429,8 +429,8 @@ class StatusOr : private internal_statusor::StatusOrData<T>,
// if `T` can be constructed from a `U`. Can accept move or copy constructors.
//
// This constructor is explicit if `U` is not convertible to `T`. To avoid
// ambiguity, this const
uctor is disabled if `U` is a `StatusOr<J>`, where `J`
// is convertible to `T`.
// ambiguity, this const
ructor is disabled if `U` is a `StatusOr<J>`, where
//
`J`
is convertible to `T`.
template
<
typename
U
=
T
,
absl
::
enable_if_t
<
...
...
absl/strings/string_view.h
View file @
7143e49e
...
...
@@ -596,7 +596,7 @@ class string_view {
}
private
:
// The constructor from std::string delegates to this constuctor.
// The constructor from std::string delegates to this const
r
uctor.
// See the comment on that constructor for the rationale.
struct
SkipCheckLengthTag
{};
string_view
(
const
char
*
data
,
size_type
len
,
SkipCheckLengthTag
)
noexcept
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment