Skip to content

Commit

Permalink
Fixes following #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej123456789 committed Sep 27, 2024
1 parent 3e85bbe commit 7375353
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Termi-Main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,7 @@

int main()
{
try {
auto func = LoadDynamicLibrary<int(*)(int)>(LIB_NAME, "tmain");
func(12);
} catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
return 1;
}
LoadDynamicLibrary(LIB_NAME, "tmain");

return 0;
}

0 comments on commit 7375353

Please sign in to comment.