Skip to content

Commit

Permalink
refs #6449 Hell with it, this UNIX compiler is completely stupid
Browse files Browse the repository at this point in the history
lets try to give it what it wants.
  • Loading branch information
abuts committed Apr 16, 2013
1 parent a6b6102 commit 53bc4f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/inc/MantidKernel/ISaveable.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace Kernel
void saveAt(uint64_t newPos, uint64_t newSize);

/// sets the iterator pointing to the location of this object in the memory buffer to write later
size_t setBufferPosition(std::list<ISaveable * >::iterator &bufPosition);
size_t setBufferPosition(std::list<ISaveable * >::iterator bufPosition);
/// returns the iterator pointing to the position of this object within the memory to-write buffer
boost::optional<std::list<ISaveable *>::iterator > & getBufPostion()
{return m_BufPosition;}
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/ISaveable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Kernel
* @param bufPosition -- the allocator which specifies the position of the object in the list of objects to write
* @returns the size of the object it currently occupies in memory. This size is also stored by the object itself for further references
*/
size_t ISaveable::setBufferPosition(std::list<ISaveable *>::iterator &bufPosition)
size_t ISaveable::setBufferPosition(std::list<ISaveable *>::iterator bufPosition)
{
m_setter.lock();
m_BufPosition = boost::optional<std::list<ISaveable *>::iterator >(bufPosition);
Expand Down

0 comments on commit 53bc4f7

Please sign in to comment.