Skip to content

Commit

Permalink
Make SQL_SUCCEEDED a template
Browse files Browse the repository at this point in the history
  • Loading branch information
andralex committed Jun 12, 2015
1 parent db50ef2 commit a890169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/c/odbc/sql.d
Expand Up @@ -36,7 +36,7 @@ enum
}

/* test for SQL_SUCCESS or SQL_SUCCESS_WITH_INFO */
bool SQL_SUCCEEDED(uint rc) { return (rc & ~1U) == 0; }
bool SQL_SUCCEEDED()(uint rc) { return (rc & ~1U) == 0; }

enum
{
Expand Down

0 comments on commit a890169

Please sign in to comment.