Skip to content

Commit

Permalink
auto-deduce return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Dec 21, 2016
1 parent 31199c3 commit 8308c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/librarylink.cpp.in
Expand Up @@ -277,7 +277,7 @@ long number_of_args(MLINK link, const std::string& head)
bool check_number_of_args(MLINK link, long number_of_arguments,
const std::string& function_name)
{
const long n_given = number_of_args(link, "List");
const auto n_given = number_of_args(link, "List");
const bool ok = n_given == number_of_arguments;

if (!ok) {
Expand Down

0 comments on commit 8308c10

Please sign in to comment.