Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some minor fixes #14

Merged
merged 3 commits into from
Jun 25, 2014
Merged

some minor fixes #14

merged 3 commits into from
Jun 25, 2014

Conversation

pah
Copy link
Contributor

@pah pah commented Jun 25, 2014

This pull-request adds some minor fixes and cleanups. This avoids some Doxygen/compiler warnings in some cases. No (real) functional changes.

  • fix some allocator misspellings in document.h
  • prohibit (accidentally) copying and assignment of MemoryPoolAllocator
  • suppress a warning about an unitialized member of FileStream

pah added 3 commits June 25, 2014 13:57
This patch fixes some misspellings of "allocator" in document.h.
Fixes the Doxygen documentation of GenericDocument as well.
The MemoryPoolAllocator implementation cannot and should not be
copied (Rule of Three).  Declare copy constructor and copy-assignment
operator as private.
FileStream::current_ is now explicitly initialized in the constructor.
Avoids reading the garbage value in case of an empty file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants