GCMemcardDirectory: Move flush interval constant into the cpp file

This isn't necessary to be within the header.
This commit is contained in:
Lioncash 2017-03-26 17:55:28 -04:00
parent 76cece8157
commit 0a7a6142eb
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,7 @@
#include "Core/HW/GCMemcard/GCMemcardDirectory.h"
#include <chrono>
#include <cinttypes>
#include <cstring>
#include <memory>
@ -188,6 +189,7 @@ void GCMemcardDirectory::FlushThread()
Common::SetCurrentThreadName(
StringFromFormat("Memcard %d flushing thread", m_card_index).c_str());
constexpr std::chrono::seconds flush_interval{1};
while (true)
{
// no-op until signalled

View file

@ -4,7 +4,6 @@
#pragma once
#include <chrono>
#include <mutex>
#include <string>
#include <thread>
@ -52,7 +51,6 @@ private:
std::vector<std::string> m_loaded_saves;
std::string m_save_directory;
const std::chrono::seconds flush_interval = std::chrono::seconds(1);
Common::Event m_flush_trigger;
std::mutex m_write_mutex;
Common::Flag m_exiting;