[Beignet] [PATCH 2/6] Android: Remove PrintfSlot(PrintfSlot && other).

Yang Rong rong.r.yang at intel.com
Mon Nov 9 18:40:13 PST 2015


It is wrong and useless in linux but may cause assert in android, remove it.

Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 backend/src/ir/printf.hpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/backend/src/ir/printf.hpp b/backend/src/ir/printf.hpp
index df58437..e63b0e4 100644
--- a/backend/src/ir/printf.hpp
+++ b/backend/src/ir/printf.hpp
@@ -152,13 +152,6 @@ namespace gbe
         }
       }
 
-      PrintfSlot(PrintfSlot && other) {
-        void *p = other.ptr;
-        type = other.type;
-        other.ptr = ptr;
-        ptr = p;
-      }
-
       ~PrintfSlot(void);
     };
 
-- 
2.1.4



More information about the Beignet mailing list