Skip to content

Commit

Permalink
bin2pat: Add a missing include and qualifier before exit().
Browse files Browse the repository at this point in the history
Required after the changes in #474.
  • Loading branch information
s3rvac committed Jan 28, 2019
1 parent 142eb78 commit f533636
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin2pat/bin2pat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/

#include <cstdlib>
#include <fstream>
#include <iostream>
#include <ostream>
Expand Down Expand Up @@ -41,7 +42,7 @@ int printErrorAndDie(
{
std::cerr << "Error: " << message << ".\n";
printUsage(std::cerr);
exit(1);
std::exit(1);
}

int needValue(
Expand Down

0 comments on commit f533636

Please sign in to comment.