Skip to content

Commit

Permalink
Add missing export statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Dec 2, 2024
1 parent 0bb8475 commit 00d0124
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asio/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Checks: "*,\
-*-magic-numbers,\
-performance-avoid-endl,
-misc-include-cleaner,\
-misc-header-include-cycle,\
misc-header-include-cycle,\
-misc-non-private-member-variables-in-classes"
WarningsAsErrors: ''
CheckOptions:
Expand Down
3 changes: 3 additions & 0 deletions asio/module/asio.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export using asio::ssl::verify_context;
export using asio::ssl::stream;
namespace error
{
export using asio::ssl::error::stream_truncated;
export using asio::ssl::error::unspecified_system_error;
export using asio::ssl::error::unexpected_result;
export using asio::ssl::error::stream_errors;
export using asio::ssl::error::make_error_code;
} // namespace error
Expand Down
6 changes: 5 additions & 1 deletion asio/module/tests/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#include "main.hpp"

int main() { return bench::main_impl(); }
// NOLINTNEXTLINE(bugprone-exception-escape)
auto main() -> int
{
return bench::main_impl(); // NOLINT(clang-analyzer-core.CallAndMessage)
}

0 comments on commit 00d0124

Please sign in to comment.