diff --git a/hash/sha1.cpp b/hash/sha1.cpp index 11bc2fbe..793cc3b1 100644 --- a/hash/sha1.cpp +++ b/hash/sha1.cpp @@ -5,12 +5,12 @@ * terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. - * + * * libgim is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. - * + * * You should have received a copy of the GNU General Public License * along with libgim. If not, see . * @@ -100,7 +100,7 @@ SHA1::update (const uint8_t *data, size_t size) { // Copy the data into the remaining available buffer slots const size_t offset = total % BLOCK_BYTES; const size_t chunk = std::min (BLOCK_BYTES - offset, size); - + std::copy (data, data + chunk, c + offset); total += chunk; diff --git a/noise/fractal.cpp b/noise/fractal.cpp index e8304eb6..47104fc0 100644 --- a/noise/fractal.cpp +++ b/noise/fractal.cpp @@ -5,12 +5,12 @@ * terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. - * + * * libgim is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. - * + * * You should have received a copy of the GNU General Public License * along with libgim. If not, see . * diff --git a/pool.ipp b/pool.ipp index 28de9f5b..5c656b73 100644 --- a/pool.ipp +++ b/pool.ipp @@ -52,7 +52,7 @@ namespace util { CHECK_EQ (doomed_count, m_capacity); operator delete (m_head); } - + template unsigned int @@ -69,7 +69,7 @@ namespace util { node *newnext = m_next->_chain; T *data = (T*)&m_next->_data; - + try { new (data) T (args...); } catch (...) {