Add <functional> to files that use std::function
This commit is contained in:
parent
f49b82c989
commit
323db52b6b
60 changed files with 61 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <set>
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
#include <functional>
|
||||
|
||||
#include "library/framebuffer.hpp"
|
||||
#include "library/dispatch.hpp"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include <set>
|
||||
#include <functional>
|
||||
#include "library/memorywatch.hpp"
|
||||
#include "library/json.hpp"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _moviefile_common__hpp__included__
|
||||
#define _moviefile_common__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include "core/moviefile.hpp"
|
||||
#define DEFAULT_RTC_SECOND 1000000000ULL
|
||||
#define DEFAULT_RTC_SUBSECOND 0ULL
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "library/exrethrow.hpp"
|
||||
#include "library/keyboard.hpp"
|
||||
#include "library/threads.hpp"
|
||||
#include <functional>
|
||||
#include <deque>
|
||||
|
||||
namespace command
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _romimage__hpp__included__
|
||||
#define _romimage__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include "core/rom-small.hpp"
|
||||
#include "interface/romtype.hpp"
|
||||
#include "library/fileimage.hpp"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library__gamepad__hpp__included__
|
||||
#define _library__gamepad__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <cstdint>
|
||||
#include <set>
|
||||
#include "json.hpp"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <cstdlib>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include "threads.hpp"
|
||||
|
||||
class http_request
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library__loadlib__hpp__included__
|
||||
#define _library__loadlib__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include <map>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library__lua_class__hpp__included__
|
||||
#define _library__lua_class__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include "lua-base.hpp"
|
||||
#include "lua-pin.hpp"
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _library__lua_function__hpp__included__
|
||||
#define _library__lua_function__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace lua
|
||||
{
|
||||
class parameters;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library__memorywatch_fb__hpp__included__
|
||||
#define _library__memorywatch_fb__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include "framebuffer.hpp"
|
||||
#include "memorywatch.hpp"
|
||||
#include "mathexpr.hpp"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define _library__memorywatch__hpp__included__
|
||||
|
||||
#include "mathexpr.hpp"
|
||||
#include <functional>
|
||||
#include <list>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library__string__hpp__included__
|
||||
#define _library__string__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <set>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _library_triplebuffer__hpp__included__
|
||||
#define _library_triplebuffer__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
#include "threads.hpp"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define _plat_wxwidgets__menu_branches__hpp__included__
|
||||
|
||||
#include "core/dispatch.hpp"
|
||||
#include <functional>
|
||||
#include <wx/string.h>
|
||||
#include <wx/wx.h>
|
||||
#include <map>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _plat_wxwidgets__menu_loadrom__hpp__included__
|
||||
#define _plat_wxwidgets__menu_loadrom__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <wx/string.h>
|
||||
#include <wx/wx.h>
|
||||
#include "interface/romtype.hpp"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "core/dispatch.hpp"
|
||||
#include "library/recentfiles.hpp"
|
||||
#include <functional>
|
||||
#include <wx/string.h>
|
||||
#include <wx/wx.h>
|
||||
#include <map>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define _plat_wxwidgets__menu_tracelog__hpp__included__
|
||||
|
||||
#include "core/dispatch.hpp"
|
||||
#include <functional>
|
||||
#include <wx/string.h>
|
||||
#include <wx/wx.h>
|
||||
#include <map>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "core/window.hpp"
|
||||
#include "library/threads.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <cstdlib>
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _platform__wxwidgets__settings_common__hpp__included__
|
||||
#define _platform__wxwidgets__settings_common__hpp__included__
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include "platform/wxwidgets/platform.hpp"
|
||||
#include <wx/wx.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "library/string.hpp"
|
||||
#include "lua/lua.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "library/directory.hpp"
|
||||
#include "library/memoryspace.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "library/streamcompress.hpp"
|
||||
#include "library/string.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <fstream>
|
||||
#include <boost/iostreams/categories.hpp>
|
||||
#include <boost/iostreams/copy.hpp>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "core/settings.hpp"
|
||||
#include "library/settingvar.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "library/minmax.hpp"
|
||||
#include "library/string.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "library/memorywatch-null.hpp"
|
||||
#include "library/string.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <list>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "core/random.hpp"
|
||||
#include "library/command.hpp"
|
||||
#include "library/threads.hpp"
|
||||
#include <functional>
|
||||
|
||||
input_queue::input_queue(command::group& _command)
|
||||
: command(_command)
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "core/window.hpp"
|
||||
#include "library/memtracker.hpp"
|
||||
#include "library/zip.hpp"
|
||||
#include <functional>
|
||||
|
||||
fileimage::image rom_image::null_img;
|
||||
fileimage::hash lsnes_image_hasher;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "core/rom.hpp"
|
||||
#include "core/ui-services.hpp"
|
||||
#include "library/keyboard.hpp"
|
||||
#include <functional>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "interface/disassembler.hpp"
|
||||
#include "library/hex.hpp"
|
||||
#include "library/string.hpp"
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
#include "lsnes.hpp"
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "core/audioapi.hpp"
|
||||
#include "core/instance.hpp"
|
||||
#include "core/messages.hpp"
|
||||
#include <functional>
|
||||
|
||||
template<> int ccore_call_param_map<lsnes_core_enumerate_cores>::id = LSNES_CORE_ENUMERATE_CORES;
|
||||
template<> int ccore_call_param_map<lsnes_core_get_core_info>::id = LSNES_CORE_GET_CORE_INFO;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "interface/disassembler.hpp"
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "serialization.hpp"
|
||||
#include "string.hpp"
|
||||
#include "hex.hpp"
|
||||
#include <functional>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "serialization.hpp"
|
||||
#include "minmax.hpp"
|
||||
#include "string.hpp"
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "string.hpp"
|
||||
#include "threads.hpp"
|
||||
#include "zip.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "exrethrow.hpp"
|
||||
#include <functional>
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
#include <future>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "minmax.hpp"
|
||||
#include "zip.hpp"
|
||||
#include "directory.hpp"
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
|
||||
namespace fileimage
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "framebuffer-font2.hpp"
|
||||
#include "range.hpp"
|
||||
#include "serialization.hpp"
|
||||
#include <functional>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include "zip.hpp"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "string.hpp"
|
||||
#include "minmax.hpp"
|
||||
#include "utf8.hpp"
|
||||
#include <functional>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <list>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <functional>
|
||||
#include "gamepad.hpp"
|
||||
#include "string.hpp"
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "threads.hpp"
|
||||
#include "streamcompress.hpp"
|
||||
#include <curl/curl.h>
|
||||
#include <functional>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <boost/iostreams/categories.hpp>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "loadlib.hpp"
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include <list>
|
||||
#include <set>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "lua-pin.hpp"
|
||||
#include "stateobject.hpp"
|
||||
#include "threads.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "mathexpr-error.hpp"
|
||||
#include "mathexpr-format.hpp"
|
||||
#include "string.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "mathexpr.hpp"
|
||||
#include "string.hpp"
|
||||
#include <functional>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "memorywatch-fb.hpp"
|
||||
#include "utf8.hpp"
|
||||
#include "minmax.hpp"
|
||||
#include <functional>
|
||||
|
||||
namespace memorywatch
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "memorywatch-list.hpp"
|
||||
#include <functional>
|
||||
|
||||
namespace memorywatch
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "int24.hpp"
|
||||
#include "mathexpr-error.hpp"
|
||||
#include "mathexpr.hpp"
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include "string.hpp"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "opus-ogg.hpp"
|
||||
#include <functional>
|
||||
#include <cstring>
|
||||
#include "serialization.hpp"
|
||||
#include "minmax.hpp"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "streamcompress.hpp"
|
||||
#include "string.hpp"
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace streamcompress
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "triplebuffer.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
|
||||
namespace triplebuffer
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "library/zip.hpp"
|
||||
#include "lua/bitmap.hpp"
|
||||
#include "library/threads.hpp"
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <functional>
|
||||
#include <wx/wx.h>
|
||||
#include <wx/statline.h>
|
||||
#include <wx/event.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <functional>
|
||||
#include "platform/wxwidgets/menu_loadrom.hpp"
|
||||
#include "platform/wxwidgets/platform.hpp"
|
||||
#include "core/dispatch.hpp"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "platform/wxwidgets/window_status.hpp"
|
||||
#include "platform/wxwidgets/window_mainwindow.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <math.h>
|
||||
#include <cassert>
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <functional>
|
||||
#include <wx/wx.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/control.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "platform/wxwidgets/scrollbar.hpp"
|
||||
#include "platform/wxwidgets/platform.hpp"
|
||||
#include "library/minmax.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
|
||||
scroll_bar::scroll_bar(wxWindow* parent, wxWindowID id, bool vertical)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <functional>
|
||||
#include "platform/wxwidgets/settings-common.hpp"
|
||||
#include "core/instance.hpp"
|
||||
#include "core/instance-map.hpp"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "rrdata.hpp"
|
||||
#include "string.hpp"
|
||||
#include "minmax.hpp"
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include "library/directory.hpp"
|
||||
#include <sstream>
|
||||
|
|
Loading…
Add table
Reference in a new issue