URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR c++/9342
|
// PR c++/9342
|
// We were failing to wrap def().user in a TARGET_EXPR, so copying it
|
// We were failing to wrap def().user in a TARGET_EXPR, so copying it
|
// into the reference temp used a bitwise copy.
|
// into the reference temp used a bitwise copy.
|
|
|
struct QString
|
struct QString
|
{
|
{
|
QString( const QString & );
|
QString( const QString & );
|
QString &operator=( const QString & );
|
QString &operator=( const QString & );
|
};
|
};
|
struct ServerSettings
|
struct ServerSettings
|
{
|
{
|
QString user;
|
QString user;
|
};
|
};
|
extern ServerSettings def();
|
extern ServerSettings def();
|
extern void arg( const QString& a );
|
extern void arg( const QString& a );
|
void startSession( bool b, QString s )
|
void startSession( bool b, QString s )
|
{
|
{
|
arg (b ? def().user : s);
|
arg (b ? def().user : s);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.