Skip to content

Commit

Permalink
Fixed doc build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Feb 11, 2024
1 parent 3e6ad86 commit e537db8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/qbk/23_sql_formatting_advanced.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ instead.

[reflink basic_format_context] contains an error code that is set when formatting
a value fails. This is called the ['error state], and can be queried using [refmem basic_format_context error_state].
When [reflink basic_format_context get] is called (after all individual values have been formatted),
When [refmem basic_format_context get] is called (after all individual values have been formatted),
the error state is checked. The `system::result` returned by `get` will contain the error
state if it was set, or the generated query if it was not:

Expand Down
2 changes: 2 additions & 0 deletions include/boost/mysql/constant_string_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ class constant_string_view
{
string_view impl_;

#ifndef BOOST_MYSQL_DOXYGEN
BOOST_CXX14_CONSTEXPR constant_string_view(string_view value, int) noexcept : impl_(value) {}
friend BOOST_CXX14_CONSTEXPR inline constant_string_view runtime(string_view) noexcept;
#endif

public:
/**
Expand Down

0 comments on commit e537db8

Please sign in to comment.