Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
renderdoc.18053
0005-Fix-incorrect-return-type.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Fix-incorrect-return-type.patch of Package renderdoc.18053
From ea04f156c07d8612ae3015f8841648fc3b970e7e Mon Sep 17 00:00:00 2001 From: baldurk <baldurk@baldurk.org> Date: Fri, 19 May 2023 10:58:29 +0100 Subject: [PATCH 5/5] Fix incorrect return type --- renderdoc/strings/string_utils.cpp | 2 +- renderdoc/strings/string_utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/strings/string_utils.cpp b/renderdoc/strings/string_utils.cpp index b2d02c8b4..61addb115 100644 --- a/renderdoc/strings/string_utils.cpp +++ b/renderdoc/strings/string_utils.cpp @@ -141,7 +141,7 @@ rdcstr strip_extension(const rdcstr &path) return path.substr(0, offs); } -rdcstr strip_nonbasic(rdcstr &str) +void strip_nonbasic(rdcstr &str) { for(char &c : str) { diff --git a/renderdoc/strings/string_utils.h b/renderdoc/strings/string_utils.h index bb6c45a2f..3a5a5983a 100644 --- a/renderdoc/strings/string_utils.h +++ b/renderdoc/strings/string_utils.h @@ -40,7 +40,7 @@ rdcstr strip_extension(const rdcstr &path); // remove everything but alphanumeric ' ' and '.' // It replaces everything else with _ // for logging strings where they might contain garbage characters -rdcstr strip_nonbasic(rdcstr &str); +void strip_nonbasic(rdcstr &str); void split(const rdcstr &in, rdcarray<rdcstr> &out, const char sep); void merge(const rdcarray<rdcstr> &in, rdcstr &out, const char sep); -- 2.41.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor