Skip to content

Commit 2583508

Browse files
Changing ryml::ConstNodeRef& to ryml::ConstNodeRef
1 parent 7db7b81 commit 2583508

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+76
-112
lines changed

Include/runcpp2/Data/DependencyInfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace runcpp2
3131
std::unordered_map<PlatformName, ProfilesCommands> Build;
3232
std::unordered_map<PlatformName, FilesToCopyInfo> FilesToCopy;
3333

34-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
34+
bool ParseYAML_Node(ryml::ConstNodeRef node);
3535
std::string ToString(std::string indentation) const;
3636
bool Equals(const DependencyInfo& other) const;
3737
};

Include/runcpp2/Data/DependencyLinkProperty.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace runcpp2
2525
public:
2626
std::unordered_map<ProfileName, ProfileLinkProperty> ProfileProperties;
2727

28-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
28+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2929
std::string ToString(std::string indentation) const;
3030
bool Equals(const DependencyLinkProperty& other) const;
3131
};

Include/runcpp2/Data/DependencySource.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace runcpp2
2121
ghc::filesystem::path ImportPath;
2222
std::vector<std::shared_ptr<DependencySource>> ImportedSources;
2323

24-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
24+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2525
std::string ToString(std::string indentation) const;
2626
bool Equals(const DependencySource& other) const;
2727
};

Include/runcpp2/Data/FileProperties.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace runcpp2
1616
std::unordered_map<PlatformName, std::string> Prefix;
1717
std::unordered_map<PlatformName, std::string> Extension;
1818

19-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
19+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2020
std::string ToString(std::string indentation) const;
2121
bool Equals(const FileProperties& other) const;
2222
};

Include/runcpp2/Data/FilesToCopyInfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace runcpp2
1616
{
1717
std::unordered_map<ProfileName, std::vector<std::string>> ProfileFiles;
1818

19-
bool ParseYAML_Node(const ryml::ConstNodeRef& node);
19+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2020
std::string ToString(std::string indentation) const;
2121
bool Equals(const FilesToCopyInfo& other) const;
2222
};

Include/runcpp2/Data/FilesTypesInfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace runcpp2
1818
FileProperties StaticLinkFile;
1919
FileProperties DebugSymbolFile;
2020

21-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
21+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2222
std::string ToString(std::string indentation) const;
2323
bool Equals(const FilesTypesInfo& other) const;
2424
};

Include/runcpp2/Data/FlagsOverrideInfo.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ namespace runcpp2
1414
std::string Remove;
1515
std::string Append;
1616

17-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
17+
bool ParseYAML_Node(ryml::ConstNodeRef node);
18+
bool IsYAML_NodeParsableAsDefault(ryml::ConstNodeRef node) const;
1819
std::string ToString(std::string indentation) const;
1920
bool Equals(const FlagsOverrideInfo& other) const;
2021
};

Include/runcpp2/Data/GitSource.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace runcpp2
1818
bool FullHistory = false;
1919
SubmoduleInitType CurrentSubmoduleInitType = SubmoduleInitType::SHALLOW;
2020

21-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
21+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2222
std::string ToString(std::string indentation) const;
2323
bool Equals(const GitSource& other) const;
2424
};

Include/runcpp2/Data/LocalSource.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ namespace runcpp2
2323
std::string Path;
2424
LocalCopyMode CopyMode = LocalCopyMode::Auto;
2525

26-
bool ParseYAML_Node(ryml::ConstNodeRef& node);
26+
bool ParseYAML_Node(ryml::ConstNodeRef node);
2727
std::string ToString(std::string indentation) const;
2828
bool Equals(const LocalSource& other) const;
2929
};
3030
}
3131
}
3232

33-
#endif
33+
#endif

Include/runcpp2/Data/Profile.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace runcpp2
3131
StageInfo Linker;
3232

3333
void GetNames(std::vector<std::string>& outNames) const;
34-
bool ParseYAML_Node(ryml::ConstNodeRef& profileNode);
34+
bool ParseYAML_Node(ryml::ConstNodeRef profileNode);
3535
std::string ToString(std::string indentation) const;
3636
bool Equals(const Profile& other) const;
3737
};

0 commit comments

Comments
 (0)