SL-18837: Make NamedTempFile revert to boost::function
from std::function, since some consumers still use (e.g.) boost::phoenix::placeholders::arg1 to generate an inline callable.master
parent
ca510f6c29
commit
aab769e9d7
|
|
@ -15,10 +15,10 @@
|
|||
#include "llerror.h"
|
||||
#include "stringize.h"
|
||||
#include <string>
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <boost/function.hpp>
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/filesystem/fstream.hpp>
|
||||
#include <functional>
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string_view>
|
||||
|
|
@ -41,7 +41,7 @@ public:
|
|||
// Function that accepts an ostream ref and (presumably) writes stuff to
|
||||
// it, e.g.:
|
||||
// (boost::phoenix::placeholders::arg1 << "the value is " << 17 << '\n')
|
||||
typedef std::function<void(std::ostream&)> Streamer;
|
||||
typedef boost::function<void(std::ostream&)> Streamer;
|
||||
|
||||
NamedTempFile(const std::string_view& pfx,
|
||||
const Streamer& func,
|
||||
|
|
|
|||
Loading…
Reference in New Issue