Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add explicit include for <cstdint> to utils.hpp #18

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add explicit include for <cstdint> to utils.hpp
Seemingly, our standard library does not have a transitive include for std::uintN_t with the given includes. The standard-conform way to use std::uintN_t (note the namespace!) is to include <cstdint>, the std-embedded version of <stdint.h>.
gg-yb authored Jun 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a99dd64d1285a8607853bf93a34cf0a318f9ef81
1 change: 1 addition & 0 deletions include/ftp/detail/utils.hpp
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
#ifndef LIBFTP_UTILS_HPP
#define LIBFTP_UTILS_HPP

#include <cstdint>
#include <string>
#include <vector>
#include <string_view>