Skip to content

Commit

Permalink
Minor fixes, pkgconfig and example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed May 5, 2020
1 parent cb99bc3 commit 0703eea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/include/swoc/bwf_ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ FirstOfConverter(T&& t) {
} // namespace detail

/// Print the first of a list of strings that is not an empty string.
/// All arguments must be convertible to @c std::string.
/// All arguments must be convertible to @c std::string_view.
template<typename... Args>
std::string_view
FirstOf(Args&& ... args) {
Expand Down
2 changes: 1 addition & 1 deletion code/libswoc.static.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Name: LibSWOC++
Description: A collection of solid C++ utilities and classes.
Version: pkg_version
Requires:
Libs: -l${libdir}swoc.pkg_version.a
Libs: ${libdir}/libswoc.pkg_version.a
Cflags: -I${includedir}
2 changes: 1 addition & 1 deletion example/ex_netdb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ swoc::Lexicon<PodType> PodTypeNames {{
namespace swoc {

BufferWriter& bwformat(BufferWriter& w, bwf::Spec const& spec, PodType pt) {
return bwformat(w, spec, (PodTypeNames[pt]);
return bwformat(w, spec, (PodTypeNames[pt]));
}

BufferWriter& bwformat(BufferWriter& w, bwf::Spec const& spec, FlagSet const& flags) {
Expand Down

0 comments on commit 0703eea

Please sign in to comment.