Skip to content

Commit 40e0a92

Browse files
kurapov-petervmaksimo
authored andcommitted
Fix isSpirvBinary signature
1 parent 234ea48 commit 40e0a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/include/LLVMSPIRVLib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace SPIRV {
7474
class SPIRVModule;
7575

7676
/// \brief Check if a string contains SPIR-V binary.
77-
bool isSpirvBinary(std::string &Img);
77+
bool isSpirvBinary(const std::string &Img);
7878

7979
#ifdef _SPIRV_SUPPORT_TEXT_FMT
8080
/// \brief Convert SPIR-V between binary and internal textual formats.

0 commit comments

Comments
 (0)