diff options
Diffstat (limited to 'lib/SPIRV/libSPIRV/SPIRVValue.h')
| -rw-r--r-- | lib/SPIRV/libSPIRV/SPIRVValue.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/SPIRV/libSPIRV/SPIRVValue.h b/lib/SPIRV/libSPIRV/SPIRVValue.h index 2ee386c..eea5f21 100644 --- a/lib/SPIRV/libSPIRV/SPIRVValue.h +++ b/lib/SPIRV/libSPIRV/SPIRVValue.h @@ -40,8 +40,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SPIRVVALUE_HPP_ -#define SPIRVVALUE_HPP_ +#ifndef SPIRV_LIBSPIRV_SPIRVVALUE_H +#define SPIRV_LIBSPIRV_SPIRVVALUE_H #include "SPIRVDecorate.h" #include "SPIRVEntry.h" @@ -112,8 +112,8 @@ public: SPIRVCapVec getRequiredCapability() const override { SPIRVCapVec CV; if (!hasType()) - return std::move(CV); - return std::move(Type->getRequiredCapability()); + return CV; + return Type->getRequiredCapability(); } protected: @@ -387,4 +387,4 @@ protected: } // namespace SPIRV -#endif /* SPIRVVALUE_HPP_ */ +#endif // SPIRV_LIBSPIRV_SPIRVVALUE_H |
