summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:59:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:59:21 +0000
commit1bff1bf8b4d97b175a7dbab5036bfb227dd4a5a3 (patch)
tree22431a1ab10c6327784f231335f87afcfeb714fc
parentClang format (diff)
downloadlibdbpp-1bff1bf8b4d97b175a7dbab5036bfb227dd4a5a3.tar.bz2
libdbpp-1bff1bf8b4d97b175a7dbab5036bfb227dd4a5a3.tar.xz
libdbpp-1bff1bf8b4d97b175a7dbab5036bfb227dd4a5a3.zip
Replace deprecated sigset function
-rw-r--r--libdbpp/createMockDb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/createMockDb.cpp b/libdbpp/createMockDb.cpp
index d54dae8..ef7cbf2 100644
--- a/libdbpp/createMockDb.cpp
+++ b/libdbpp/createMockDb.cpp
@@ -65,7 +65,7 @@ main(int argc, char ** argv)
if (!drop) {
std::cout << "Done. ctrl+c to tear down and exit." << std::endl;
- sigset(SIGINT, &emptyHandler);
+ signal(SIGINT, &emptyHandler);
pause();
std::cout << std::endl;