[Bf-blender-cvs] [72593ecaed1] functions: cleanup
Jacques Lucke
noreply at git.blender.org
Tue Mar 26 11:22:25 CET 2019
Commit: 72593ecaed17a0f6c4fc1bd9be2d5bacb4f5b24e
Author: Jacques Lucke
Date: Tue Mar 26 10:51:49 2019 +0100
Branches: functions
https://developer.blender.org/rB72593ecaed17a0f6c4fc1bd9be2d5bacb4f5b24e
cleanup
===================================================================
M source/blender/functions/backends/tuple_call/execution_context.cpp
M source/blender/functions/backends/tuple_call/execution_context.hpp
===================================================================
diff --git a/source/blender/functions/backends/tuple_call/execution_context.cpp b/source/blender/functions/backends/tuple_call/execution_context.cpp
index 147e111c48b..62f00e513a8 100644
--- a/source/blender/functions/backends/tuple_call/execution_context.cpp
+++ b/source/blender/functions/backends/tuple_call/execution_context.cpp
@@ -10,4 +10,18 @@ namespace FN {
}
}
+ std::string SourceInfoStackFrame::to_string() const
+ {
+ if (m_source == nullptr) {
+ return "<unknown source>";
+ } else {
+ return m_source->to_string();
+ }
+ }
+
+ std::string TextStackFrame::to_string() const
+ {
+ return std::string(m_text);
+ }
+
} /* namespace FN */
\ No newline at end of file
diff --git a/source/blender/functions/backends/tuple_call/execution_context.hpp b/source/blender/functions/backends/tuple_call/execution_context.hpp
index c051ba1a92b..317a707dce8 100644
--- a/source/blender/functions/backends/tuple_call/execution_context.hpp
+++ b/source/blender/functions/backends/tuple_call/execution_context.hpp
@@ -22,14 +22,7 @@ namespace FN {
return m_source;
}
- std::string to_string() const override
- {
- if (m_source == nullptr) {
- return "<unknown source>";
- } else {
- return m_source->to_string();
- }
- }
+ std::string to_string() const override;
};
class TextStackFrame : public StackFrame {
@@ -45,10 +38,7 @@ namespace FN {
return m_text;
}
- std::string to_string() const override
- {
- return std::string(m_text);
- }
+ std::string to_string() const override;
};
More information about the Bf-blender-cvs
mailing list