Update rdctype::array to have a more stl-like mutable interface

* For the most part the interface is stl-compatible, but we have a few
  little changes of our own for convenience.
* This class is still needed after deleting the C# UI, because we don't
  want to pass C++ stl structs over module boundaries and possibly run
  into hard to diagnose incompatibilities.
This commit is contained in:
baldurk
2017-11-03 16:01:58 +00:00
parent e8dc6471a3
commit 5e59616a8c
81 changed files with 1924 additions and 1369 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ void DisplayRendererPreview(IReplayController *renderer, TextureDisplay &display
bool xcb = false, xlib = false;
for(int32_t i = 0; i < systems.count; i++)
for(size_t i = 0; i < systems.size(); i++)
{
if(systems[i] == WindowingSystem::Xlib)
xlib = true;
@@ -300,7 +300,7 @@ void DisplayRendererPreview(IReplayController *renderer, TextureDisplay &display
{
std::cerr << "Neither XCB nor XLib are supported, can't create window." << std::endl;
std::cerr << "Supported systems: ";
for(int32_t i = 0; i < systems.count; i++)
for(size_t i = 0; i < systems.size(); i++)
std::cerr << (uint32_t)systems[i] << std::endl;
std::cerr << std::endl;
return;