Skip to content

Commit 7b31a7a

Browse files
committed
Add missing attr
1 parent 7495f80 commit 7b31a7a

File tree

1 file changed

+2
-2
lines changed
  • packages/react-native-executorch/common/rnexecutorch/models/speech_to_text

1 file changed

+2
-2
lines changed

packages/react-native-executorch/common/rnexecutorch/models/speech_to_text/SpeechToText.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class SpeechToText {
2020
[[nodiscard(
2121
"Registered non-void function")]] std::shared_ptr<OwningArrayBuffer>
2222
decode(std::span<int32_t> tokens, std::span<float> encoderOutput) const;
23-
std::string transcribe(std::span<float> waveform,
24-
std::string languageOption) const;
23+
[[nodiscard("Registered non-void function")]] std::string
24+
transcribe(std::span<float> waveform, std::string languageOption) const;
2525

2626
size_t getMemoryLowerBound() const noexcept;
2727

0 commit comments

Comments
 (0)