Do bulk replace of stl types.

This commit is contained in:
jmsgrogan 2023-12-21 09:18:44 +00:00
parent 521486be62
commit c25a56ee19
531 changed files with 2274 additions and 2181 deletions

View file

@ -64,8 +64,8 @@ public:
}
private:
std::unique_ptr<DrawingSurface> mSurface;
std::unique_ptr<DrawingContext> mDrawingContext;
Ptr<DrawingSurface> mSurface;
Ptr<DrawingContext> mDrawingContext;
std::unique_ptr<FontsManager> mFontsManager;
Ptr<FontsManager> mFontsManager;
};

View file

@ -3,7 +3,7 @@
#include "MainApplication.h"
#include "DesktopManager.h"
TestUiApplication::TestUiApplication(std::unique_ptr<CommandLineArgs> args, std::unique_ptr<MainApplication> mainApp)
TestUiApplication::TestUiApplication(Ptr<CommandLineArgs> args, Ptr<MainApplication> mainApp)
: GuiApplication(std::move(args), std::move(mainApp))
{

View file

@ -3,12 +3,12 @@
#include "GuiApplication.h"
#include "Scene.h"
#include <memory>
#include "Memory.h"
class TestUiApplication : public GuiApplication
{
public:
TestUiApplication(std::unique_ptr<CommandLineArgs> args = nullptr, std::unique_ptr<MainApplication> mainApp = nullptr);
TestUiApplication(Ptr<CommandLineArgs> args = nullptr, Ptr<MainApplication> mainApp = nullptr);
DesktopManager* getDesktopManager() const;

View file

@ -9,7 +9,7 @@ using Path = std::filesystem::path;
class TestUtils
{
public:
static Path getTestOutputDir(const std::string& testFileName = {})
static Path getTestOutputDir(const String& testFileName = {})
{
if (!testFileName.empty())
{