@@ -116,7 +116,7 @@ inline void to_json(json& j, const SEntry::SPreprocessingDependency& dependency)
116
116
j = json{
117
117
{ " requestingSourceDir" , dependency.requestingSourceDir },
118
118
{ " identifier" , dependency.identifier },
119
- { " hash" , dependency.hash },
119
+ { " hash" , dependency.hash . data },
120
120
{ " standardInclude" , dependency.standardInclude },
121
121
};
122
122
}
@@ -125,7 +125,7 @@ inline void from_json(const json& j, SEntry::SPreprocessingDependency& dependenc
125
125
{
126
126
j.at (" requestingSourceDir" ).get_to (dependency.requestingSourceDir );
127
127
j.at (" identifier" ).get_to (dependency.identifier );
128
- j.at (" hash" ).get_to (dependency.hash );
128
+ j.at (" hash" ).get_to (dependency.hash . data );
129
129
j.at (" standardInclude" ).get_to (dependency.standardInclude );
130
130
}
131
131
@@ -177,7 +177,7 @@ inline void to_json(json& j, const SEntry& entry)
177
177
j = json{
178
178
{ " mainFileContents" , entry.mainFileContents },
179
179
{ " compilerArgs" , entry.compilerArgs },
180
- { " hash" , entry.hash },
180
+ { " hash" , entry.hash . data },
181
181
{ " lookupHash" , entry.lookupHash },
182
182
{ " dependencies" , entry.dependencies },
183
183
};
@@ -187,7 +187,7 @@ inline void from_json(const json& j, SEntry& entry)
187
187
{
188
188
j.at (" mainFileContents" ).get_to (entry.mainFileContents );
189
189
j.at (" compilerArgs" ).get_to (entry.compilerArgs );
190
- j.at (" hash" ).get_to (entry.hash );
190
+ j.at (" hash" ).get_to (entry.hash . data );
191
191
j.at (" lookupHash" ).get_to (entry.lookupHash );
192
192
j.at (" dependencies" ).get_to (entry.dependencies );
193
193
entry.cpuShader = nullptr ;
0 commit comments