Change initialization syntax for ScopedContext in examples
authorAlex Zinenko <zinenko@google.com>
Mon, 8 Apr 2019 10:11:12 +0000 (03:11 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 9 Apr 2019 02:17:56 +0000 (19:17 -0700)
commit8e193e617cb660e356e1f8591162942bc9a1dd5c
tree23879701f8ec348ed42f0edb3c2c3d43f3fce6b8
parenta8a5c069614e7d45ccb8613ecc74d0d2358b6e19
Change initialization syntax for ScopedContext in examples

    For some reason, the OSS build on macOS was not happy with the initialization
    syntax and was attempting to call a copy constructor.  Hotfix it to use a
    different syntax pending further investigation.

--

PiperOrigin-RevId: 242432634
mlir/examples/Linalg/Linalg1/lib/ConvertToLLVMDialect.cpp
mlir/examples/Linalg/Linalg3/lib/ConvertToLLVMDialect.cpp