FreeBSD Bugzilla – Attachment 45218 Details for
Bug 69782
x11-wm/fluxbox fix for gcc 3.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.61 KB, created by
Craig Rodrigues
on 2004-07-30 02:40:26 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Craig Rodrigues
Created:
2004-07-30 02:40:26 UTC
Size:
1.61 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># patch-src-Resource.hh ># >echo x - patch-src-Resource.hh >sed 's/^X//' >patch-src-Resource.hh << 'END-of-patch-src-Resource.hh' >X--- src/Resource.hh.orig Thu Jul 29 21:04:30 2004 >X+++ src/Resource.hh Thu Jul 29 21:22:14 2004 >X@@ -66,16 +66,9 @@ >X { >X public: >X Resource(ResourceManager &rm, T val, >X- const std::string &name, const std::string &altname): >X- Resource_base(name, altname), >X- m_value(val), m_defaultval(val), >X- m_rm(rm) >X- { >X- m_rm.addResource(*this); // add this to resource handler >X- } >X- virtual ~Resource() { >X- m_rm.removeResource(*this); // remove this from resource handler >X- } >X+ const std::string &name, const std::string &altname); >X+ >X+ virtual ~Resource(); >X >X inline void setDefaultValue() { m_value = m_defaultval; } >X void setFromString(const char *strval); >X@@ -128,5 +121,18 @@ >X static bool m_init; >X ResourceList m_resourcelist; >X }; >X+ >X+template <typename T> >X+Resource<T>::Resource(ResourceManager &rm, T val, const std::string &name, >X+ const std::string &altname): >X+ Resource_base(name, altname), m_value(val), m_defaultval(val), >X+ m_rm(rm) { >X+ m_rm.addResource(*this); // add this to resource handler >X+} >X+ >X+template <typename T> >X+Resource<T>::~Resource() { >X+ m_rm.removeResource(*this); // remove this from resource handler >X+} >X >X #endif //_RESOURCE_HH_ >END-of-patch-src-Resource.hh >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69782
: 45218