Skip to content

Commit 1e6a844

Browse files
committed
Fix for #41
1 parent 9f47c0a commit 1e6a844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/vks/vku.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ std::string format(const char* fmt, Args... args) {
3939
int n = snprintf(nullptr, 0, fmt, args...);
4040
std::string result(n, '\0');
4141
snprintf(&*result.begin(), n + 1, fmt, args...);
42-
return std::move(result);
42+
return result;
4343
}
4444

4545
/// Utility function for finding memory types for uniforms and images.
@@ -88,7 +88,7 @@ inline std::vector<uint8_t> loadFile(const std::string& filename) {
8888
bytes.resize(size);
8989
is.read((char*)bytes.data(), size);
9090
}
91-
return std::move(bytes);
91+
return bytes;
9292
}
9393

9494
/// Description of blocks for compressed formats.

0 commit comments

Comments
 (0)