Skip to content

Commit 3c94b66

Browse files
committed
Make basic_file::open_filebuf static
1 parent c41dccb commit 3c94b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/tmp/file

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private:
120120
/// @param file The file stream
121121
/// @returns The new file device
122122
/// @throws std::filesystem::filesystem_error if cannot open the file stream
123-
decltype(sb) open_filebuf(std::FILE* file) {
123+
static decltype(sb) open_filebuf(std::FILE* file) {
124124
constexpr auto mode = std::ios::binary | std::ios::in | std::ios::out;
125125
decltype(sb) sb;
126126
#if defined(_MSC_VER)

0 commit comments

Comments
 (0)