Skip to content
Permalink
Browse files
Merge pull request #6584 from lioncash/async-init
AsyncRequests: In-class initialize class members
  • Loading branch information
leoetlino committed Apr 2, 2018
2 parents 9d1c440 + 672665d commit 80525cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
@@ -12,9 +12,7 @@

AsyncRequests AsyncRequests::s_singleton;

AsyncRequests::AsyncRequests() : m_enable(false), m_passthrough(true)
{
}
AsyncRequests::AsyncRequests() = default;

void AsyncRequests::PullEventsInternal()
{
@@ -90,9 +90,9 @@ class AsyncRequests
std::mutex m_mutex;
std::condition_variable m_cond;

bool m_wake_me_up_again;
bool m_enable;
bool m_passthrough;
bool m_wake_me_up_again = false;
bool m_enable = false;
bool m_passthrough = true;

std::vector<EfbPokeData> m_merged_efb_pokes;
};

0 comments on commit 80525cf

Please sign in to comment.