aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct2
-rw-r--r--src/cpu/kernels/CpuKernelSelectionTypes.h14
2 files changed, 8 insertions, 8 deletions
diff --git a/SConstruct b/SConstruct
index bae197c783..3266d34919 100644
--- a/SConstruct
+++ b/SConstruct
@@ -220,7 +220,7 @@ if 'clang++' in cpp_compiler:
elif 'armclang' in cpp_compiler:
pass
else:
- env.Append(CXXFLAGS = ['-Wlogical-op','-Wnoexcept','-Wstrict-null-sentinel'])
+ env.Append(CXXFLAGS = ['-Wlogical-op','-Wnoexcept','-Wstrict-null-sentinel', '-Wno-misleading-indentation'])
if cpp_compiler == 'g++':
# Don't strip comments that could include markers
diff --git a/src/cpu/kernels/CpuKernelSelectionTypes.h b/src/cpu/kernels/CpuKernelSelectionTypes.h
index 779fb86e6d..60dcea4a35 100644
--- a/src/cpu/kernels/CpuKernelSelectionTypes.h
+++ b/src/cpu/kernels/CpuKernelSelectionTypes.h
@@ -36,17 +36,17 @@ namespace kernels
// Selector data types
struct DataTypeISASelectorData
{
- DataType dt;
- const cpuinfo::CpuIsaInfo &isa;
+ DataType dt;
+ cpuinfo::CpuIsaInfo isa;
};
struct PoolDataTypeISASelectorData
{
- DataType dt;
- DataLayout dl;
- int pool_stride_x;
- Size2D pool_size;
- const cpuinfo::CpuIsaInfo &isa;
+ DataType dt;
+ DataLayout dl;
+ int pool_stride_x;
+ Size2D pool_size;
+ cpuinfo::CpuIsaInfo isa;
};
// Selector pointer types