mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Optimization for include resolving in PreprocessorWrapper.
Reduces the number of copying and decreases the computational complexity. Tested By: Stan Differential Revision: https://code.wildfiregames.com/D3439 This was SVN commit r24740.
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
// by a file content from the directive's argument. Parsing is strict
|
||||
// and simple. The directive will be expanded in comments and multiline
|
||||
// strings.
|
||||
CStr ResolveIncludes(CStr source);
|
||||
CStr ResolveIncludes(const CStr& source);
|
||||
|
||||
CStr Preprocess(const CStr& input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user