aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-09 12:33:59 -0400
committerJack Lloyd <[email protected]>2016-09-09 12:33:59 -0400
commitb17f5924b61b0fdc8fe6de809fffe33d2b19f04b (patch)
tree130af7cdf25b8ec7f593a7ff2f2937d9ec2641de /src
parentfbfab7988a2734ef61257c5b4909bacf2075c77d (diff)
These vectors can be const
Diffstat (limited to 'src')
-rw-r--r--src/lib/block/aes/aes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/aes/aes.cpp b/src/lib/block/aes/aes.cpp
index aac277b4f..6ec21cb0c 100644
--- a/src/lib/block/aes/aes.cpp
+++ b/src/lib/block/aes/aes.cpp
@@ -122,7 +122,7 @@ const std::vector<u32bit>& AES_TE()
return TE;
};
- static std::vector<u32bit> TE = compute_TE();
+ static const std::vector<u32bit> TE = compute_TE();
return TE;
}
@@ -142,7 +142,7 @@ const std::vector<u32bit>& AES_TD()
}
return TD;
};
- static std::vector<u32bit> TD = compute_TD();
+ static const std::vector<u32bit> TD = compute_TD();
return TD;
}