Skip to content

Commit 00d6910

Browse files
authored
docs: Minor fixes and typos (#4564)
Signed-off-by: Larry Gritz <[email protected]>
1 parent dcb38bd commit 00d6910

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

Diff for: docs/dev/Build_Profiling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These are instructions for profiling the build process of OpenImageIO --
77
useful for figuring out where the build process is spending its time, and
88
where it might be optimized.
99

10-
## Profiling module compilating with clang -ftime-trace
10+
## Profiling module compilation with clang -ftime-trace
1111

1212
These instructions are based on the following references:
1313

Diff for: docs/dev/CodeReview.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
2+
<!-- Copyright Contributors to the OpenImageIO Project. -->
3+
4+
15
Code Review Procedures
26
======================
37

@@ -131,7 +135,7 @@ stakeholders. These include:
131135
critical cases.
132136
- *Compatibility breaks*: changes that propose to break backward API
133137
compatibility with existing code or data files, or that change the required
134-
toolchain or depeendencies needed to build the project.
138+
toolchain or dependencies needed to build the project.
135139
- *Security*: Changes that could introduce security vulnerabilities, or that
136140
fix tricky security issues where the best fix is not obvious.
137141

Diff for: docs/dev/RELEASING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ having CC prefixes in as many commit messages possible helps make the release
412412
notes process be simpler and more automated.
413413

414414
We have been using the [git-cliff](https://github.com/orhun/git-cliff) tool
415-
as the starting point for relese notes. The command we use is:
415+
as the starting point for release notes. The command we use is:
416416

417417
git cliff -c src/doc/cliff.toml -d v1.2.3.4..HEAD > cliff.out.md
418418

Diff for: src/doc/oiiointro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ different formats, comparing image data between two images, and examining
6161
image metadata.
6262

6363
All of this is released as "open source" software using the very permissive
64-
"BSD 3-clause" license. So you should feel free to use any or all of
64+
"Apache-2.0" license. So you should feel free to use any or all of
6565
OpenImageIO in your own software, whether it is private or public, open
6666
source or proprietary, free or commercial. You may also modify it on your
6767
own. You are encouraged to contribute to the continued development of

Diff for: src/include/OpenImageIO/strutil.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -980,15 +980,15 @@ bool OIIO_UTIL_API parse_int (string_view &str, int &val, bool eat=true) noexcep
980980
bool OIIO_UTIL_API parse_float (string_view &str, float &val, bool eat=true) noexcept;
981981

982982
/// Synonym for parse_int
983-
inline bool parse_value(string_view &str, float &val, bool eat=true) noexcept
983+
inline bool parse_value(string_view &str, int &val, bool eat=true) noexcept
984984
{
985-
return parse_float(str, val, eat);
985+
return parse_int(str, val, eat);
986986
}
987987

988988
/// Synonym for parse_float
989-
inline bool parse_value(string_view &str, int &val, bool eat=true) noexcept
989+
inline bool parse_value(string_view &str, float &val, bool eat=true) noexcept
990990
{
991-
return parse_int(str, val, eat);
991+
return parse_float(str, val, eat);
992992
}
993993

994994
/// Parse from `str`: a `prefix`, a series of int values separated by the

0 commit comments

Comments
 (0)