Salome HOME
bos #23871 [CEA 18962] Build YACS with clang in C++17 mode
authorvsr <vsr@opencascade.com>
Wed, 10 Feb 2021 07:12:02 +0000 (10:12 +0300)
committervsr <vsr@opencascade.com>
Wed, 10 Feb 2021 07:12:02 +0000 (10:12 +0300)
src/runtime/TypeConversions.cxx

index fd883aa099d87f454098913d04b6c528640768ad..f0a13e2a2dbda51315eb891c4c1c4fdfac32d3bb 100644 (file)
@@ -59,22 +59,6 @@ namespace YACS
 {
   namespace ENGINE
   {
-    void printbin(const std::string& bin)
-      {
-        register char c;
-        for(int i=0;i<bin.length();i++)
-          {
-            c=bin[i];
-            if (c < ' ' || c >= 0x7f) 
-              {
-                fprintf(stderr,"\\x%02x",c & 0xff);
-              }
-            else
-              fprintf(stderr,"%c",c);
-          }
-        fprintf(stderr,"\n");
-      }
-
     std::string getImplName(ImplType impl)
       {
          switch(impl)