Skip to content

Commit 92c96f2

Browse files
committed
[Kaleidoscope] Fix build after std::optional changes
1 parent 215666d commit 92c96f2

File tree

1 file changed

+1
-1
lines changed
  • llvm/examples/Kaleidoscope/Chapter8

1 file changed

+1
-1
lines changed

llvm/examples/Kaleidoscope/Chapter8/toy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ int main() {
12431243
auto Features = "";
12441244

12451245
TargetOptions opt;
1246-
auto RM = Optional<Reloc::Model>();
1246+
auto RM = std::optional<Reloc::Model>();
12471247
auto TheTargetMachine =
12481248
Target->createTargetMachine(TargetTriple, CPU, Features, opt, RM);
12491249

0 commit comments

Comments
 (0)