Skip to content

Commit

Permalink
fix pch-off build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Dec 9, 2024
1 parent 6618c76 commit af360a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/integrations/eclipse.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "eclipse.hpp"
#include <Geode/Geode.hpp>

using namespace eclipse;
using namespace geode::prelude;
Expand Down
3 changes: 3 additions & 0 deletions src/integrations/eclipse.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#pragma once

#include <string>
#include <Geode/Geode.hpp>

//stolen from https://github.com/EclipseMenu/EclipseMenu/blob/333be6481bbd483c8e17cd04d9239708252f3f96/include/eclipse.hpp
//EPL 2.0 https://choosealicense.com/licenses/epl-2.0/

Expand Down
2 changes: 1 addition & 1 deletion src/managers/BetterInfoCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ void BetterInfoCache::cacheLevels(std::set<int> toDownload, SearchType searchTyp
ServerUtils::getOnlineLevels(
searchObj,
[this, levelsSet = std::move(levelsSet)](auto levels, bool success, bool explicitError) mutable {
std::thread([this, levels, levelsSet = std::move(levelsSet), success, explicitError] mutable {
std::thread([this, levels, levelsSet = std::move(levelsSet), success, explicitError]() mutable {
thread::setName("Level Cache (Inner)");
for(const auto& level : *levels) {
cacheLevel(level);
Expand Down

0 comments on commit af360a8

Please sign in to comment.