mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
[Validator] Using pointers instead of refs
Change-Id: I19a1cd27b6cbbc5d5d88a46bc5dd43c66a318b7f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26004 Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
dan sinclair
parent
f961850988
commit
a3f9778ee6
@@ -437,7 +437,7 @@ int main(int argc, const char** argv) {
|
||||
}
|
||||
|
||||
tint::Validator v;
|
||||
if (!v.Validate(mod)) {
|
||||
if (!v.Validate(&mod)) {
|
||||
std::cerr << "Validation: " << v.error() << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user