[PPL-devel] [GIT] ppl/ppl(master): Include <cstring> instead of <string.h>.
Roberto Bagnara
roberto.bagnara at bugseng.com
Sat Feb 13 11:08:23 CET 2016
Module: ppl/ppl
Branch: master
Commit: b5451eae8eb5e136dbb987edaab7ce523c6be108
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=b5451eae8eb5e136dbb987edaab7ce523c6be108
Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date: Sat Feb 13 11:01:16 2016 +0100
Include <cstring> instead of <string.h>.
Fixes a violation of rule MP1.18-0-1 detected by ECLAIR.
---
src/Watchdog.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Watchdog.cc b/src/Watchdog.cc
index 6643dc2..26e370a 100644
--- a/src/Watchdog.cc
+++ b/src/Watchdog.cc
@@ -31,7 +31,7 @@ site: http://bugseng.com/products/ppl/ . */
#include <stdexcept>
#include <cerrno>
#include <string>
-#include <string.h>
+#include <cstring>
#ifdef PPL_TIME_WITH_SYS_TIME
# include <sys/time.h>
More information about the PPL-devel
mailing list