diff options
Diffstat (limited to 'source/blender/freestyle/intern/system')
3 files changed, 16 insertions, 14 deletions
diff --git a/source/blender/freestyle/intern/system/PointerSequence.h b/source/blender/freestyle/intern/system/PointerSequence.h index 015033beeb4..d136632f060 100644 --- a/source/blender/freestyle/intern/system/PointerSequence.h +++ b/source/blender/freestyle/intern/system/PointerSequence.h @@ -23,23 +23,25 @@ * * PointerSequence * - * Produces a wrapped version of a sequence type (std::vector, std::deque, std::list) that will take ownership of - * pointers that it stores. Those pointers will be deleted in its destructor. + * Produces a wrapped version of a sequence type (std::vector, std::deque, std::list) that will + * take ownership of pointers that it stores. Those pointers will be deleted in its destructor. * - * Because the contained pointers are wholly owned by the sequence, you cannot make a copy of the sequence. - * Making a copy would result in a double free. + * Because the contained pointers are wholly owned by the sequence, you cannot make a copy of the + * sequence. Making a copy would result in a double free. * - * This is a no-frills class that provides no additional facilities. The user is responsible for managing any - * pointers that are removed from the list, and for making sure that any pointers contained in the class are not - * deleted elsewhere. Because this class does no reference counting, the user must also make sure that any pointer - * appears only once in the sequence. + * This is a no-frills class that provides no additional facilities. The user is responsible for + * managing any pointers that are removed from the list, and for making sure that any pointers + * contained in the class are not deleted elsewhere. Because this class does no reference + * counting, the user must also make sure that any pointer appears only once in the sequence. * * If more sophisticated facilities are needed, use tr1::shared_ptr or boost::shared_ptr. - * This class is only intended to allow one to eke by in projects where tr1 or boost are not available. + * This class is only intended to allow one to eke by in projects where tr1 or boost are not + * available. * - * Usage: The template takes two parameters, the standard container, and the class held in the container. This is a - * limitation of C++ templates, where T::iterator is not a type when T is a template parameter. If anyone knows a way - * around this limitation, then the second parameter can be eliminated. + * Usage: The template takes two parameters, the standard container, and the class held in the + * container. This is a limitation of C++ templates, where T::iterator is not a type when T is a + * template parameter. If anyone knows a way around this limitation, then the second parameter can + * be eliminated. * * Example: * PointerSequence<vector<Widget*>, Widget*> v; diff --git a/source/blender/freestyle/intern/system/PythonInterpreter.h b/source/blender/freestyle/intern/system/PythonInterpreter.h index bcb36d8d6b5..1fed6a00463 100644 --- a/source/blender/freestyle/intern/system/PythonInterpreter.h +++ b/source/blender/freestyle/intern/system/PythonInterpreter.h @@ -31,7 +31,7 @@ extern "C" { #include "StringUtils.h" #include "Interpreter.h" -//soc +// soc extern "C" { #include "MEM_guardedalloc.h" diff --git a/source/blender/freestyle/intern/system/StringUtils.cpp b/source/blender/freestyle/intern/system/StringUtils.cpp index 027491a790f..99ec9aed632 100644 --- a/source/blender/freestyle/intern/system/StringUtils.cpp +++ b/source/blender/freestyle/intern/system/StringUtils.cpp @@ -19,7 +19,7 @@ * \brief String utilities */ -//soc #include <qfileinfo.h> +// soc #include <qfileinfo.h> #include "FreestyleConfig.h" #include "StringUtils.h" |