Skip to content

Commit

Permalink
using modern using syntax to define callback function type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Nov 13, 2016
1 parent 5d0a8ef commit 8e1e975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Database {
Eigen::ArrayXd extract(const std::string&, long long);

private:
typedef int (*TCallback)(void*, int, char**, char**);
using TCallback = int (*)(void*, int, char**, char**);

class DisabledSQLiteError : Error {
public:
Expand Down

0 comments on commit 8e1e975

Please sign in to comment.