From 4d6d5620b044571d1411cb7d8378c5949a067385 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 7 Sep 2016 15:28:48 -0400 Subject: [PATCH] Revert "testTypeCast: Escape non-printing characters" This reverts commit f7cad98f3e6b8689e9cab2699e9042f1b48a8be7. --- testApp/misc/testTypeCast.cpp | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/testApp/misc/testTypeCast.cpp b/testApp/misc/testTypeCast.cpp index 8a00aa7..1f2516e 100644 --- a/testApp/misc/testTypeCast.cpp +++ b/testApp/misc/testTypeCast.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include #include @@ -31,14 +30,6 @@ using std::string; namespace { - std::string escapedFromRaw(const std::string & s) - { - std::vector result; - result.resize(epicsStrnEscapedFromRawSize(s.c_str(), s.length())+1); - epicsStrnEscapedFromRaw(&result[0], result.size(), s.c_str(), s.length()); - return std::string(&result[0]); - } - template struct testequal { static bool op(T A, T B) {return A==B; } @@ -66,7 +57,7 @@ namespace { < " <::op(actual, expect)) { @@ -74,14 +65,14 @@ namespace { < " < " < (" < (" <