summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/perfregisterinfo.cpp2
-rw-r--r--app/perfregisterinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/perfregisterinfo.cpp b/app/perfregisterinfo.cpp
index 4d87397..3217faa 100644
--- a/app/perfregisterinfo.cpp
+++ b/app/perfregisterinfo.cpp
@@ -102,7 +102,7 @@ const int PerfRegisterInfo::s_dummyRegisters[ARCH_INVALID][2] = {
{0, 0}
};
-QByteArray PerfRegisterInfo::defaultArchitecture()
+const char *PerfRegisterInfo::defaultArchitecture()
{
#if defined(__aarch64__)
return "aarch64";
diff --git a/app/perfregisterinfo.h b/app/perfregisterinfo.h
index 5668426..1a4ed74 100644
--- a/app/perfregisterinfo.h
+++ b/app/perfregisterinfo.h
@@ -61,5 +61,5 @@ public:
static const int s_dummyRegisters[ARCH_INVALID][2];
// default architecture for the system which was used for compilation
- static QByteArray defaultArchitecture();
+ static const char *defaultArchitecture();
};