summaryrefslogtreecommitdiff
path: root/indra/test
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test')
-rw-r--r--indra/test/namedtempfile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/test/namedtempfile.h b/indra/test/namedtempfile.h
index 927e2b4fd9..df7495fc13 100644
--- a/indra/test/namedtempfile.h
+++ b/indra/test/namedtempfile.h
@@ -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,