[CXX-1065] read_concern::acknowledge_string should return const string_view Created: 03/Oct/16 Updated: 13/Dec/16 Resolved: 05/Oct/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | David Golden |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This function wraps libmongoc's mongoc_read_concern_get_level(), which returns const char*. |
| Comments |
| Comment by David Golden [ 05/Oct/16 ] |
|
Not necessary. string_view is already wrapping a const pointer. |