Normalize line endings and whitespace
This commit is contained in:

committed by
Andrey Kamaev

parent
0442bca235
commit
81f826db2b
12
3rdparty/openexr/IlmImf/ImfStringAttribute.cpp
vendored
12
3rdparty/openexr/IlmImf/ImfStringAttribute.cpp
vendored
@@ -2,9 +2,9 @@
|
||||
//
|
||||
// Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
|
||||
// Digital Ltd. LLC
|
||||
//
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
// met:
|
||||
@@ -16,8 +16,8 @@
|
||||
// distribution.
|
||||
// * Neither the name of Industrial Light & Magic nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
@@ -61,7 +61,7 @@ StringAttribute::writeValueTo (OStream &os, int) const
|
||||
int size = _value.size();
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
Xdr::write <StreamIO> (os, _value[i]);
|
||||
Xdr::write <StreamIO> (os, _value[i]);
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ StringAttribute::readValueFrom (IStream &is, int size, int)
|
||||
_value.resize (size);
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
Xdr::read <StreamIO> (is, _value[i]);
|
||||
Xdr::read <StreamIO> (is, _value[i]);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user