Skip to content

Commit

Permalink
fix building with boost 1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Dec 13, 2020
1 parent df65430 commit 9cfe876
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cpp/core/HtmlUtils.cpp
Expand Up @@ -19,13 +19,17 @@

#include <boost/format.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/bind/bind.hpp>
#include <boost/bind/placeholders.hpp>

#include <core/Base64.hpp>
#include <core/FileSerializer.hpp>
#include <core/RegexUtils.hpp>

#include <core/http/Util.hpp>

using namespace boost::placeholders;

namespace rstudio {
namespace core {
namespace html_utils {
Expand Down
4 changes: 4 additions & 0 deletions src/cpp/core/file_lock/FileLock.cpp
Expand Up @@ -27,10 +27,14 @@
#include <core/system/Xdg.hpp>

#include <boost/algorithm/string.hpp>
#include <boost/bind/bind.hpp>
#include <boost/bind/placeholders.hpp>

// borrowed from SessionConstants.hpp
#define kRStudioSessionRoute "RSTUDIO_SESSION_ROUTE"

using namespace boost::placeholders;

namespace rstudio {
namespace core {

Expand Down
3 changes: 3 additions & 0 deletions src/cpp/r/session/RStdCallbacks.cpp
Expand Up @@ -21,6 +21,8 @@

#include <boost/function.hpp>
#include <boost/regex.hpp>
#include <boost/bind/bind.hpp>
#include <boost/bind/placeholders.hpp>

#include <r/RExec.hpp>
#include <r/ROptions.hpp>
Expand Down Expand Up @@ -60,6 +62,7 @@ __declspec(dllimport) SA_TYPE SaveAction;
}

using namespace rstudio::core;
using namespace boost::placeholders;

namespace rstudio {
namespace r {
Expand Down

0 comments on commit 9cfe876

Please sign in to comment.