Make all references use smart pointers.
BUG=5972398
Change-Id: I7b8c2930ccf7d64623270cd3d0550aa6a852f2e5
diff --git a/tests/ScriptC_mono.cpp b/tests/ScriptC_mono.cpp
index a6c63a8..88d041c 100644
--- a/tests/ScriptC_mono.cpp
+++ b/tests/ScriptC_mono.cpp
@@ -23,6 +23,10 @@
#include "ScriptC_mono.h"
+using namespace android;
+using namespace renderscriptCpp;
+
+
static const unsigned char __txt[] = {
0xde,0xc0,0x17,0x0b,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0xd0,0x04,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,
@@ -112,7 +116,7 @@
ScriptC_mono::~ScriptC_mono() {
}
-void ScriptC_mono::forEach_root(const Allocation *ain, const Allocation *aout) const {
+void ScriptC_mono::forEach_root(sp<const Allocation> ain, sp<const Allocation> aout) const {
forEach(0, ain, aout, NULL, 0);
}