aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/platform.cpp2
-rw-r--r--src/platform.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/platform.cpp b/src/platform.cpp
index 93e574b..34a39e5 100644
--- a/src/platform.cpp
+++ b/src/platform.cpp
@@ -38,7 +38,7 @@ Platform::~Platform() {
SDL_Quit();
}
-void Platform::Update(const std::bitset<2048>& bitset, int videoScale) {
+void Platform::Update(const std::bitset<2048> bitset, int videoScale) {
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
SDL_RenderClear(renderer);
diff --git a/src/platform.hpp b/src/platform.hpp
index a037b6e..db1a17c 100644
--- a/src/platform.hpp
+++ b/src/platform.hpp
@@ -14,7 +14,7 @@ class Platform {
~Platform();
public:
- void Update(const std::bitset<2048>& bitset, int videoScale);
+ void Update(const std::bitset<2048> bitset, int videoScale);
bool ProcessInput(std::bitset<16>* keys);
void StartBeep();
void StopBeep();