Skip to content

Commit ea85311

Browse files
committed
Release 0.9.16
1 parent 555ee48 commit ea85311

File tree

3 files changed

+14
-24
lines changed

3 files changed

+14
-24
lines changed

CHANGELOG.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1+
## 0.9.16 (August 13, 2024)
2+
- `BUGFIX` Fixes a serious regression bug where removing a section would break the file in random ways due to the assignment operator introduced in the previous version. This version removes the assignment operator until it can be implemented in a way that is compliant with expected behavior. ([issue #36](https://github.com/metayeti/mINI/issues/36))
3+
14
## 0.9.15 (January 11, 2024)
2-
- `BUGFIX` Fixes G++ warnings and implements a copy assignment operator for mINI::INIMap. ([#28](https://github.com/pulzed/mINI/pull/28))
5+
- `BUGFIX` Fixes G++ warnings and implements a copy assignment operator for mINI::INIMap. ([pull #28](https://github.com/metayeti/mINI/pull/28))
36

47
## 0.9.14 (May 27, 2022)
5-
- `BUGFIX` Fixes C4310 warning. ([#19](https://github.com/pulzed/mINI/issues/19))
8+
- `BUGFIX` Fixes C4310 warning. ([issue #19](https://github.com/metayeti/mINI/issues/19))
69

710
## 0.9.13 (April 25, 2022)
8-
- `BUGFIX` Writer now understands UTF-8 BOM-encoded files. ([#7](https://github.com/pulzed/mINI/issues/17))
11+
- `BUGFIX` Writer now understands UTF-8 BOM-encoded files. ([issue #7](https://github.com/metayeti/mINI/issues/17))
912
- `BUGFIX` Fixes a bug introduced in 0.9.12 where reader would break when reading empty files.
1013

1114
## 0.9.12 (April 24, 2022)
12-
- `BUGFIX` Fixes parser breaking for UTF-8 BOM-encoded files. ([#7](https://github.com/pulzed/mINI/issues/17))
15+
- `BUGFIX` Fixes parser breaking for UTF-8 BOM-encoded files. ([issue #7](https://github.com/metayeti/mINI/issues/17))
1316

1417
## 0.9.11 (October 6, 2021)
1518
- `BUGFIX` Fixes various compiler warnings.
1619

1720
## 0.9.10 (March 4, 2021)
18-
- `BUGFIX` Change delimiter constants to `const char* const` to prevent unnecessary allocations. ([#5](https://github.com/pulzed/mINI/issues/5))
21+
- `BUGFIX` Change delimiter constants to `const char* const` to prevent unnecessary allocations. ([issue #5](https://github.com/metayeti/mINI/issues/5))
1922

2023
## 0.9.9 (February 22, 2021)
21-
- `BUGFIX` Adds missing cctype header. ([#4](https://github.com/pulzed/mINI/pull/4))
24+
- `BUGFIX` Adds missing cctype header. ([pull #4](https://github.com/metayeti/mINI/pull/4))
2225

2326
## 0.9.8 (February 14, 2021)
24-
- `BUGFIX` Avoid C4244 warning. ([#2](https://github.com/pulzed/mINI/pull/2))
27+
- `BUGFIX` Avoid C4244 warning. ([pull #2](https://github.com/metayeti/mINI/pull/2))
2528

2629
## 0.9.7 (August 14, 2018)
2730
- `FEATURE` Adds case sensitivity toggle via a macro definition.
@@ -44,7 +47,7 @@
4447
- `FEATURE` Empty key and section names are now allowed.
4548

4649
## 0.9.2 (May 24, 2018)
47-
- `BUGFIX` Fixes the multiple definition bug [#1](/../../issues/1)
50+
- `BUGFIX` Fixes the multiple definition bug [issue #1](/../../issues/1)
4851
- `BUGFIX` Fixes a bug where a `write()` call to an empty file would begin writing at line 2 instead of 1 due to a reader bug.
4952

5053
## 0.9.1 (May 20, 2018)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# mINI <img align="left" src="icon.png?raw=true" height="96">
22

3-
v0.9.15
3+
v0.9.16
44

55
## Info
66

77
This is a tiny, header only C++ library for manipulating INI files.
88

99
It conforms to the following format:
10-
- section and key names are case insensitive
10+
- section and key names are case insensitive by default
1111
- whitespace around sections, keys and values is ignored
1212
- empty section and key names are allowed
1313
- keys that do not belong to a section are ignored

src/mini/ini.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
///////////////////////////////////////////////////////////////////////////////
2525
//
26-
// /mINI/ v0.9.15
26+
// /mINI/ v0.9.16
2727
// An INI file reader and writer for the modern age.
2828
//
2929
///////////////////////////////////////////////////////////////////////////////
@@ -160,19 +160,6 @@ namespace mINI
160160
{
161161
}
162162

163-
INIMap& operator=(INIMap const& other)
164-
{
165-
std::size_t data_size = other.data.size();
166-
for (std::size_t i = 0; i < data_size; ++i)
167-
{
168-
auto const& key = other.data[i].first;
169-
auto const& obj = other.data[i].second;
170-
data.emplace_back(key, obj);
171-
}
172-
dataIndexMap = T_DataIndexMap(other.dataIndexMap);
173-
return *this;
174-
}
175-
176163
T& operator[](std::string key)
177164
{
178165
INIStringUtil::trim(key);

0 commit comments

Comments
 (0)