fs/AllocatedPath: API documentation grammar fixes
This commit is contained in:
parent
5525ea45a4
commit
a8d800572e
|
@ -61,12 +61,12 @@ class AllocatedPath {
|
|||
}
|
||||
public:
|
||||
/**
|
||||
* Copy a #AllocatedPath object.
|
||||
* Copy an #AllocatedPath object.
|
||||
*/
|
||||
AllocatedPath(const AllocatedPath &) = default;
|
||||
|
||||
/**
|
||||
* Move a #AllocatedPath object.
|
||||
* Move an #AllocatedPath object.
|
||||
*/
|
||||
AllocatedPath(AllocatedPath &&other):value(std::move(other.value)) {}
|
||||
|
||||
|
@ -147,7 +147,7 @@ public:
|
|||
}
|
||||
|
||||
/**
|
||||
* Convert a UTF-8 C string to a #AllocatedPath instance.
|
||||
* Convert a UTF-8 C string to an #AllocatedPath instance.
|
||||
* Returns return a "nulled" instance on error.
|
||||
*/
|
||||
gcc_pure gcc_nonnull_all
|
||||
|
@ -157,12 +157,12 @@ public:
|
|||
static AllocatedPath FromUTF8(const char *path_utf8, Error &error);
|
||||
|
||||
/**
|
||||
* Copy a #AllocatedPath object.
|
||||
* Copy an #AllocatedPath object.
|
||||
*/
|
||||
AllocatedPath &operator=(const AllocatedPath &) = default;
|
||||
|
||||
/**
|
||||
* Move a #AllocatedPath object.
|
||||
* Move an #AllocatedPath object.
|
||||
*/
|
||||
AllocatedPath &operator=(AllocatedPath &&other) {
|
||||
value = std::move(other.value);
|
||||
|
|
Loading…
Reference in New Issue