Skip to content

Commit

Permalink
Fix Windows compile: CALLBACK is a macro there.
Browse files Browse the repository at this point in the history
Fixes #153.
  • Loading branch information
jtv committed Feb 3, 2019
1 parent d6ffb1a commit 847f5b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
6.3.1
- Windows compile fix (CALLBACK is a macro there).
6.3.0
- New "table stream" classes by Joseph Durel: stream_from/stream_to.
- Support weird characters in more identifiers: cursors, notifcations, etc.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.0
6.3.1
4 changes: 2 additions & 2 deletions include/pqxx/internal/encodings.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ PQXX_LIBEXPORT std::string::size_type find_with_encoding(
/** Scans the glyphs in the buffer, and for each, passes its begin and its
* one-past-end pointers to @c callback.
*/
template<typename CALLBACK> PQXX_LIBEXPORT inline void for_glyphs(
template<typename CALLABLE> PQXX_LIBEXPORT inline void for_glyphs(
encoding_group enc,
CALLBACK callback,
CALLABLE callback,
const char buffer[],
std::string::size_type buffer_len,
std::string::size_type start = 0
Expand Down

0 comments on commit 847f5b4

Please sign in to comment.